SendMessageAlbum class

Inheritance

Constructors

SendMessageAlbum({required int chatId, required int messageThreadId, MessageReplyTo? replyTo, MessageSendOptions? options, required List<InputMessageContent> inputMessageContents, required bool onlyPreview})
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
const

Properties

chatId int
chatId Target chat
final
hashCode int
The hash code for this object.
no setterinherited
inputMessageContents List<InputMessageContent>
inputMessageContents Contents of messages to be sent. At most 10 messages can be added to an album
final
messageThreadId int
messageThreadId If not 0, a message thread identifier in which the messages will be sent
final
onlyPreview bool
onlyPreview Pass true to get fake messages instead of actually sending them
final
options MessageSendOptions?
options Options to be used to send the messages; pass null to use default options
final
replyTo MessageReplyTo?
replyTo Identifier of the replied message or story; pass null if none
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? chatId, int? messageThreadId, MessageReplyTo? replyTo, MessageSendOptions? options, List<InputMessageContent>? inputMessageContents, bool? onlyPreview}) SendMessageAlbum
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String