Layer 227
FolderObj
Folder
constructor
folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder;
Parameters
| Name | Type | Description |
|---|---|---|
| AutofillNewBroadcasts | flags .0? true | Automatically add new channels to this folder |
| AutofillPublicGroups | flags .1? true | Automatically add joined new public supergroups to this folder |
| AutofillNewCorrespondents | flags .2? true | Automatically add new private chats to this folder |
| Id | int | Folder ID |
| Title | string | Folder title |
| Photo | flags .3? ChatPhoto | Folder picture |
Returns
FolderGogram Example
// Creating FolderObj constructor obj := &tg.FolderObj{ AutofillNewBroadcasts: nil, AutofillPublicGroups: nil, AutofillNewCorrespondents: nil, Id: 42, Title: "Hello, World!", Photo: nil, }