change_call_volume()

async Client.change_call_volume()

Change the stream volume in a voice chat.

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

  • volume (int) – Stream volume percentage (0 to 200).

Returns:

bool – On success, True is returned.

Example

await app.change_call_volume(chat_id, 150)