Function get_chat_sponsored_messages

Source
pub async fn get_chat_sponsored_messages(
    chat_id: i64,
    client_id: i32,
) -> Result<SponsoredMessages, Error>
Expand description

Returns sponsored messages to be shown in a chat; for channel chats only

ยงArguments

  • chat_id - Identifier of the chat
  • client_id - The client id to send the request to