QuickReplyMessage class final
Describes a message that can be used for quick reply
Constructors
- QuickReplyMessage({required int id, MessageSendingState? sendingState, required bool canBeEdited, required int replyToMessageId, required int viaBotUserId, required int mediaAlbumId, required MessageContent content, ReplyMarkup? replyMarkup})
-
Describes a message that can be used for quick reply
const
-
QuickReplyMessage.fromJson(Map<
String, dynamic> json) -
Parses a QuickReplyMessage from TDLib JSON.
factory
Properties
- canBeEdited → bool
-
True, if the message can be edited
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- content → MessageContent
-
Content of the message
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
- id → int
-
Unique message identifier among all quick replies
final
- mediaAlbumId → int
-
Unique identifier of an album this message belongs to. Only audios, documents, photos and videos can be grouped together in albums
final
- replyMarkup → ReplyMarkup?
-
Inline keyboard reply markup for the message; may be null if none
final
- replyToMessageId → int
-
Information about the identifier of the quick reply message to which the message replies
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendingState → MessageSendingState?
-
The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent
final
- viaBotUserId → int
-
If non-zero, the user identifier of the bot through which this message was sent
final
Methods
-
copyWith(
{int? id, MessageSendingState? sendingState()?, bool? canBeEdited, int? replyToMessageId, int? viaBotUserId, int? mediaAlbumId, MessageContent? content, ReplyMarkup? replyMarkup()?}) → QuickReplyMessage -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
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.