libtd-ktx / kotlinx.telegram.coroutines / sendMessageAlbum
sendMessageAlbum
suspend fun
TelegramFlow
.sendMessageAlbum(chatId:
Long
, replyToMessageId:
Long
, options:
SendMessageOptions
?, inputMessageContents:
Array
<
InputMessageContent
>?):
Messages
Suspend function, which sends messages grouped together into an album. Currently only photo and video messages can be grouped into an album. Returns sent messages.
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.
Return Messages Contains a list of messages.