Skip to content

get message

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / getMessage

getMessage

suspend fun TelegramFlow.getMessage(chatId: Long, messageId: Long): Message

Suspend function, which returns information about a message.

Parameters

chatId - Identifier of the chat the message belongs to.

messageId - Identifier of the message to get.

Return Message Describes a message.

Clone this wiki locally