KeyboardButtonUserProfile#
- class pyrogram.raw.types.KeyboardButtonUserProfile#
Button that links directly to a user profile Available only in inline keyboards. When pressed, clients must open the profile of the user identified by user_id.
Constructor of
KeyboardButton.- Details:
Layer:
227ID:
C0FD5D09
- Parameters:
text (
str) – Button textuser_id (
int64-bit) – User IDstyle (
KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.
- Functions:
This object can be returned by 1 function.
Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.