GetLoginUrl constructor

const GetLoginUrl({
  1. required int chatId,
  2. required int messageId,
  3. required int buttonId,
  4. required bool allowWriteAccess,
})

Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.. Use the method getLoginUrlInfo to find whether a prior user confirmation is needed. If an error is returned, then the button must be handled as an ordinary URL button

Implementation

const GetLoginUrl({
  required this.chatId,
  required this.messageId,
  required this.buttonId,
  required this.allowWriteAccess,
});