Function set_chat_title

Source
pub async fn set_chat_title(
    chat_id: i64,
    title: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the chat title. Supported only for basic groups, supergroups and channels. Requires can_change_info member right

ยงArguments

  • chat_id - Chat identifier
  • title - New title of the chat; 1-128 characters
  • client_id - The client id to send the request to