KeyboardButtonUserProfile
- class pyrogram.raw.types.KeyboardButtonUserProfile
Button that links directly to a user profile
Constructor of
KeyboardButton.- Details:
Layer:
223ID:
C0FD5D09
- Parameters:
text (
str) – Button textuser_id (
int64-bit) – User IDstyle (
KeyboardButtonStyle, optional)
TL Schema
keyboardButtonUserProfile#c0fd5d09
flags:#
style:flags.10?KeyboardButtonStyle
text:string
user_id:long
= KeyboardButton
Parameter Tree
KeyboardButtonUserProfile
├── style →
KeyboardButtonStyle (optional)│ └──
KeyboardButtonStyle│ ├── bg_primary →
true (optional)│ ├── bg_danger →
true (optional)│ ├── bg_success →
true (optional)│ └── icon →
long (optional)├── text →
string└── user_id →
longExample
KeyboardButtonUserProfile(
text="Open",
user_id=0,
)