phone.ToggleGroupCallSettings

class pyrogram.raw.functions.phone.ToggleGroupCallSettings

Change group call settings

Details:
  • Layer: 223

  • ID: 974392F2

Parameters:
  • call (InputGroupCall) – Group call

  • reset_invite_hash (bool, optional) – Invalidate existing invite links

  • join_muted (bool, optional) – Whether all users will that join this group call are muted by default upon joining the group call

  • messages_enabled (bool, optional)

  • send_paid_messages_stars (int 64-bit, optional)

Returns:

Updates

TL Schema

phone.toggleGroupCallSettings#974392f2
flags:#
reset_invite_hash:flags.1?true
call:InputGroupCall
join_muted:flags.0?Bool
messages_enabled:flags.2?Bool
send_paid_messages_stars:flags.3?long

= Updates

Parameter Tree

ToggleGroupCallSettings
├── reset_invite_hashtrue (optional)
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── join_mutedBool (optional)
├── messages_enabledBool (optional)
└── send_paid_messages_starslong (optional)

Example

await app.invoke(
    ToggleGroupCallSettings(
        reset_invite_hash=None,
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        join_muted=None,
        messages_enabled=None,
        send_paid_messages_stars=0,
    )
)