pub async fn create_new_basic_group_chat(
user_ids: Vec<i64>,
title: String,
message_auto_delete_time: i32,
client_id: i32,
) -> Result<CreatedBasicGroupChat, Error>
Expand description
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns information about the newly created chat
§Arguments
user_ids
- Identifiers of users to be added to the basic group; may be empty to create a basic group without other memberstitle
- Title of the new basic group; 1-128 charactersmessage_auto_delete_time
- Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren’t deleted automaticallyclient_id
- The client id to send the request to