pause_stream()

async Client.pause_stream()

Pause the current media stream in a voice chat.

Usable by Users Bots
Parameters:

chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

Returns:

bool – On success, True is returned.

Example

await app.pause_stream(chat_id)