KeyboardButtonTypeRequestUser constructor

KeyboardButtonTypeRequestUser(
  1. {required int id,
  2. required bool restrict_user_is_bot,
  3. required bool user_is_bot,
  4. required bool restrict_user_is_premium,
  5. required bool user_is_premium,
  6. int? extra,
  7. int? clientId}
)

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

Implementation

KeyboardButtonTypeRequestUser