Layer 228
CommunitiesToggleCommunityCollapsedInDialogs
method
communities.toggleCommunityCollapsedInDialogs#d766e3ea flags:# collapsed:flags.0?true community:InputChannel = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Collapsed | flags.0?true | |
| Community | InputChannel |
Returns
UpdatesGogram Example
// CommunitiesToggleCommunityCollapsedInDialogs - using Params struct result, err := client.CommunitiesToggleCommunityCollapsedInDialogs(&tg.CommunitiesToggleCommunityCollapsedInDialogsParams{ Community: &tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)}, // Optional fields: // Collapsed: true, }) if err != nil { // handle error } // result is *tg.Updates