Layer 228
CommunitiesToggleAllPeerLinkRequestApproval
method
communities.toggleAllPeerLinkRequestApproval#bfe3dd3d flags:# reject:flags.0?true community:InputChannel = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Reject | flags.0?true | |
| Community | InputChannel |
Returns
BoolGogram Example
// CommunitiesToggleAllPeerLinkRequestApproval - using Params struct result, err := client.CommunitiesToggleAllPeerLinkRequestApproval(&tg.CommunitiesToggleAllPeerLinkRequestApprovalParams{ Community: &tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)}, // Optional fields: // Reject: true, }) if err != nil { // handle error } // result is *tg.Bool