Layer 228
constructor
dialogCommunity#f78a0973 flags:# pinned:flags.2?true community_id:long notify_settings:PeerNotifySettings = Dialog;

Parameters

Name Type Description
Pinned flags.2?true
CommunityId long
NotifySettings PeerNotifySettings

Returns

Dialog

Gogram Example

// Creating DialogCommunity constructor
obj := &tg.DialogCommunity{
    CommunityId: int64(1234567890),
    NotifySettings: &tg.PeerNotifySettingsObj{},

    // Optional fields:
    // Pinned: true,
}