edit_group_call_settings()

async Client.edit_group_call_settings()

Edit settings for an active group voice chat (join muted, chat messages, stars).

Usable by Users Bots
Parameters:
  • chat_id (int | str | GroupCall) – Unique identifier (int) or username (str) of the target chat, or the GroupCall object.

  • join_muted (bool, optional) – Whether new participants join muted by default.

  • messages_enabled (bool, optional) – Whether text messages are enabled during the call.

  • reset_invite_hash (bool, optional) – Whether to reset the invite link hash.

  • send_paid_messages_stars (int, optional) – Minimum stars required to send paid messages in the voice chat.

Returns:

Updates – On success, updates are returned.

Example

# Mute new participants by default
await app.edit_group_call_settings(chat_id, join_muted=True)