Skip to content

channels.toggleJoinRequest

Layer 227

Constructor ID: 0x0ecc2618
Returns: Updates

Parameters

NameTypeDescription
apply_to_invitesbool (flags.1, optional)
channelInputChannel
enabledbool
guard_botInputUser (flags.0, optional)

Example

go
result, err := client.Raw(&tg.ToggleJoinRequestRequest{
    apply_to_invites: false,
    channel: nil, // InputChannel
    enabled: false,
    guard_bot: nil, // InputUser
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.