---types--- inputKeyboardButtonRequestPeer#02b78156 name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true style:flags.10?KeyboardButtonStyle text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton
In Rust this constructor is a variant of the enums::KeyboardButton enum. Match on it with: if let enums::KeyboardButton::InputKeyboardButtonRequestPeer(v) = result { ... }
enums::KeyboardButton
if let enums::KeyboardButton::InputKeyboardButtonRequestPeer(v) = result { ... }