set_new_chat_privacy_settings

Function set_new_chat_privacy_settings 

Source
pub async fn set_new_chat_privacy_settings(
    settings: NewChatPrivacySettings,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes privacy settings for new chat creation; can be used only if getOption(“can_set_new_chat_privacy_settings”)

§Arguments

  • settings - New settings
  • client_id - The client id to send the request to