get_chat_message_by_date


Description:

public async Message get_chat_message_by_date (int64 chat_id, int32 date) throws TDLibError

Returns the last message sent in a chat no later than the specified date. Returns a 404 error if such message doesn't exist

Parameters:

chat_id

Chat identifier

date

Point in time (Unix timestamp) relative to which to search for messages