Layer 220
constructor

Parameters

Name Type Description
ChannelId long The forum ID
Enabled Bool The new value of the toggle.

Returns

Update

Gogram Example

// Creating UpdateChannelViewForumAsMessages constructor
obj := &tg.UpdateChannelViewForumAsMessages{
    ChannelId: int64(0),
    Enabled: true,
}