Layer 227
ChatInviteImporterObj
When and which user joined the chat using a chat invite
constructor
chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
Parameters
| Name | Type | Description |
|---|---|---|
| Requested | flags .0? true | Whether this user currently has a pending join request |
| ViaChatlist | flags .3? true | The participant joined by importing a chat folder deep link. |
| UserId | long | The user |
| Date | int | When did the user join |
| About | flags .2? string | For users with pending requests, contains bio of the user that requested to join |
| ApprovedBy | flags .1? long | The administrator that approved the join request of the user |
Returns
ChatInviteImporterGogram Example
// Creating ChatInviteImporterObj constructor obj := &tg.ChatInviteImporterObj{ Requested: nil, ViaChatlist: nil, UserId: int64(1234567890), Date: 42, About: "Hello, World!", ApprovedBy: nil, }