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,
  7. required bool requestName,
  8. required bool requestUsername,
  9. required bool requestPhoto,
})

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,
  required this.requestName,
  required this.requestUsername,
  required this.requestPhoto,
});