JoinGroupCallPresentationRequest

Only users can use this request. See code examples.

---functions---
phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = Updates

Returns

Updates

This type can be an instance of either:

UpdateShortUpdateShortChatMessage
UpdateShortMessageUpdateShortSentMessage
UpdatesUpdatesCombined
UpdatesTooLong

Parameters

callInputGroupCall
paramsDataJSON

Known RPC errors

This request can cause 1 known error:

ParticipantJoinMissingErrorTrying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall).

You can import these from telethon.errors.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.phone.JoinGroupCallPresentationRequest(
        call=types.InputGroupCall(
            id=-12398745604826,
            access_hash=-12398745604826
        ),
        params=types.DataJSON(
            data='some string here'
        )
    ))
    print(result.stringify())