ReplyParameters class

Describes reply parameters for the message that is being sent.

See https://core.telegram.org/bots/api#replyparameters

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

ReplyParameters({int? messageID, dynamic chatID, bool? allowSendingWithoutReply, String? quote, String? quoteParseMode, List<MessageEntity>? quoteEntities, int? quotePosition})
ReplyParameters.fromJson(Map<String, dynamic> json)
factory

Properties

allowSendingWithoutReply ↔ bool?
Whether the message should be sent even if the specified message to be replied to is not found.
getter/setter pair
chatID ↔ dynamic
Unique identifier for the target chat or username of the target channel (in the format @channelusername) if the message is from a different chat.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
messageID ↔ int?
Identifier of the message that will be replied to in the current chat, or in the chat chatID if it is specified.
getter/setter pair
quote ↔ String?
Quoted part of the message to be replied to.
getter/setter pair
quoteEntities ↔ List<MessageEntity>?
A list of special entities that appear in the quote.
getter/setter pair
quoteParseMode ↔ String?
Mode for parsing entities in the quote.
getter/setter pair
quotePosition ↔ int?
Position of the quote in the original message in UTF-16 code units.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited