GetLoginUrl class

Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl..

Returns HttpUrl.

Inheritance
Available Extensions

Constructors

GetLoginUrl({required int chat_id, required int message_id, required int button_id, required bool allow_write_access, int? extra, int? clientId})
Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.

Properties

allow_write_access bool
Pass true to allow the bot to send messages to the current user.
read / write
button_id int
Button identifier.
read / write
chat_id int
Chat identifier of the message with the button.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
message_id int
Message identifier of the message with the button.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetLoginUrl?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getLoginUrl"