Function create_supergroup_chat

Source
pub async fn create_supergroup_chat(
    supergroup_id: i64,
    force: bool,
    client_id: i32,
) -> Result<Chat, Error>
Expand description

Returns an existing chat corresponding to a known supergroup or channel

ยงArguments

  • supergroup_id - Supergroup or channel identifier
  • force - Pass true to create the chat without a network request. In this case all information about the chat except its type, title and photo can be incorrect
  • client_id - The client id to send the request to