Layer 220
ChatInviteImporter
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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 ChatInviteImporter constructor obj := &tg.ChatInviteImporter{ UserId: int64(0), Date: 0, // Optional fields: // Requested: true, // ViaChatlist: true, // About: "...", // ApprovedBy: int64(0), }