SendMessageAlbum
public struct SendMessageAlbum : Codable, Equatable, TDFunction
Sends messages grouped together into an album. Currently only photo and video messages can be grouped into an album. Returns sent messages
-
Undocumented
Declaration
Swift
public typealias Result = Messages
-
Target chat
Declaration
Swift
public let chatId: Int53
-
Identifier of a message to reply to or 0
Declaration
Swift
public let replyToMessageId: Int53
-
Options to be used to send the messages
Declaration
Swift
public let options: SendMessageOptions
-
Contents of messages to be sent
Declaration
Swift
public let inputMessageContents: [InputMessageContent]
-
Sends messages grouped together into an album. Currently only photo and video messages can be grouped into an album. Returns sent messages
Declaration
Swift
public init(chatId: Int53, replyToMessageId: Int53, options: SendMessageOptions, inputMessageContents: [InputMessageContent])
Parameters
chatId
Target chat
replyToMessageId
Identifier of a message to reply to or 0
options
Options to be used to send the messages
inputMessageContents
Contents of messages to be sent