MessageReplyToMessage class final

Describes a message replied by a given message

Inheritance

Constructors

MessageReplyToMessage({required int chatId, required int messageId, TextQuote? quote, MessageOrigin? origin, required int originSendDate, MessageContent? content})
Describes a message replied by a given message
const
MessageReplyToMessage.fromJson(Map<String, dynamic> json)
Parses a MessageReplyToMessage from TDLib JSON.
factory

Properties

chatId → int
The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
content → MessageContent?
Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageInvoice, messageLocation, messagePhoto, messagePoll, messagePremiumGiveaway, messagePremiumGiveawayWinners, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
messageId → int
The identifier of the message; may be 0 if the replied message is in unknown chat
final
origin → MessageOrigin?
Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat
final
originSendDate → int
Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat
final
quote → TextQuote?
Chosen quote from the replied message; may be null if none
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? chatId, int? messageId, TextQuote? quote()?, MessageOrigin? origin()?, int? originSendDate, MessageContent? content()?}) → MessageReplyToMessage
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.