Layer 224
method Users
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;

Parameters

Name Type Description
ResetInviteHash flags.1?true Invalidate existing invite links
Call InputGroupCall Group call
JoinMuted flags.0?Bool Whether all users will that join this group call are muted by default upon joining the group call
MessagesEnabled flags.2?Bool
SendPaidMessagesStars flags.3?long

Returns

Updates

Gogram Example

// PhoneToggleGroupCallSettings - using Params struct
result, err := client.PhoneToggleGroupCallSettings(&tg.PhoneToggleGroupCallSettingsParams{
    Call: &tg.InputGroupCall{},

    // Optional fields:
    // ResetInviteHash: true,
    // JoinMuted: true,
    // MessagesEnabled: true,
    // SendPaidMessagesStars: int64(1234567890),
})
if err != nil {
    // handle error
}
// result is *tg.Updates

Possible Errors

Code Type Description
400 GROUPCALL_INVALID The specified group call is invalid.
400 GROUPCALL_NOT_MODIFIED Group call settings weren't modified.