Interface GetChatMessageByDate

Returns the last message sent in a chat no later than the specified date. Returns a 404 error if such message doesn't exist. Request type for Tdjson#getChatMessageByDate.

interface GetChatMessageByDate {
    @type: "getChatMessageByDate";
    chat_id: number;
    date: number;
}

Properties

Properties

@type: "getChatMessageByDate"
chat_id: number

Chat identifier.

date: number

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