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