View Source ExTDLib.Object.KeyboardButtonTypeRequestUser (ExTDLib v0.0.4)
A button that requests a user to be shared by the current user; available only in private chats. Use the method shareUserWithBot to complete the request.
| Name | Type | Description |
|---|---|---|
| id | number | Unique button identifier. |
| restrict_user_is_bot | bool | True, if the shared user must or must not be a bot. |
| user_is_bot | bool | True, if the shared user must be a bot; otherwise, the shared user must no be a bot. Ignored if restrict_user_is_bot is false. |
| restrict_user_is_premium | bool | True, if the shared user must or must not be a Telegram Premium user. |
| user_is_premium | bool | True, if the shared user must be a Telegram Premium user; otherwise, the shared user must no be a Telegram Premium user. Ignored if restrict_user_is_premium is false. |
More details on telegram's documentation.