ShareUserWithBot constructor

const ShareUserWithBot({
  1. required int chatId,
  2. required int messageId,
  3. required int buttonId,
  4. required int sharedUserId,
  5. required bool onlyCheck,
})

Shares a user after pressing a keyboardButtonTypeRequestUser button with the bot

Implementation

const ShareUserWithBot({
  required this.chatId,
  required this.messageId,
  required this.buttonId,
  required this.sharedUserId,
  required this.onlyCheck,
});