libtd-ktx / kotlinx.telegram.coroutines / getChatMessageByDate
getChatMessageByDate
suspend fun TelegramFlow.getChatMessageByDate(chatId: Long, date: Int): Message
Suspend function, which returns the last message sent in a chat no later than the specified date.
Parameters
chatId - Chat identifier.
date - Point in time (Unix timestamp) relative to which to search for messages.
Return Message Describes a message.