ChatKtx.sendMessageAlbum - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / sendMessageAlbum

sendMessageAlbum

open suspend fun Chat.sendMessageAlbum(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

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 TdApi.Messages Contains a list of messages.