Dismiss or approve a chat join request related to a specific chat or channel.
Method schema is available as of layer 134. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
approved | flags.0?true | Whether to dismiss or approve the chat join request » |
peer | InputPeer | The chat or channel |
user_id | InputUser | The user whose join request » should be dismissed or approved |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.