KeyboardButtonTypeRequestUser constructor

const KeyboardButtonTypeRequestUser({
  1. required int id,
  2. required bool restrictUserIsBot,
  3. required bool userIsBot,
  4. required bool restrictUserIsPremium,
  5. required bool userIsPremium,
})

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

const KeyboardButtonTypeRequestUser({
  required this.id,
  required this.restrictUserIsBot,
  required this.userIsBot,
  required this.restrictUserIsPremium,
  required this.userIsPremium,
});