libtd-ktx / kotlinx.telegram.coroutines / getMessages
getMessages
suspend fun
TelegramFlow
.getMessages(chatId:
Long
, messageIds:
LongArray
?):
Messages
Suspend function, which returns information about messages. If a message is not found, returns null on the corresponding position of the result.
Parameters
chatId
- Identifier of the chat the messages belong to.
messageIds
- Identifiers of the messages to get.
Return Messages Contains a list of messages.