get_chat_message_by_date

Function get_chat_message_by_date 

Source
pub async fn get_chat_message_by_date(
    chat_id: i64,
    date: i32,
    client_id: i32,
) -> Result<Message, Error>
Expand description

Returns the last message sent in a chat no later than the specified date

ยงArguments

  • chat_id - Chat identifier
  • date - Point in time (Unix timestamp) relative to which to search for messages
  • client_id - The client id to send the request to