KeyboardButtonTypeRequestUsers constructor

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

A button that requests users to be shared by the current user; available only in private chats. Use the method shareUsersWithBot to complete the request

Implementation

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