SendMessageAlbum class
Sends 2-10 messages grouped together into an album. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.
Returns Messages.
- Inheritance
- Available Extensions
Constructors
-
SendMessageAlbum({required int chat_id, required int message_thread_id, MessageReplyTo? reply_to, MessageSendOptions? options, required List<
InputMessageContent> input_message_contents, required bool only_preview, int? extra, int? clientId}) - Sends 2-10 messages grouped together into an album. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages
Properties
- chat_id ↔ int
-
Target chat.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
input_message_contents
↔ List<
InputMessageContent> -
Contents of messages to be sent. At most 10 messages can be added to an album.
read / write
- message_thread_id ↔ int
-
If not 0, a message thread identifier in which the messages will be sent.
read / write
- only_preview ↔ bool
-
Pass true to get fake messages instead of actually sending them.
read / write
- options ↔ MessageSendOptions?
-
Options to be used to send the messages; pass null to use default options.
read / write
- reply_to ↔ MessageReplyTo?
-
Identifier of the replied message or story; pass null if none.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → SendMessageAlbum? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"sendMessageAlbum"