GetUserLink class final

Returns an HTTPS link, which can be used to get information about the current user

Returns UserLink.

Inheritance

Constructors

GetUserLink({required bool removeMessagesFee, required bool returnPermanentLink, required bool revokePreviousLinks})
Returns an HTTPS link, which can be used to get information about the current user
const

Properties

canBeCalledSynchronously → bool
Whether TDLib documents this request as callable through td_execute.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
removeMessagesFee → bool
Pass true to get a link, which allows other users to send unpaid messages to the current user. By default, a temporary link is returned in this case
final
Pass true to get a permanent link; ignored if remove_messages_fee is false. Can be used only if can_get_permanent_link is true in a previously received userLink
final
Pass true to revoke previously created links, which allow other users to send unpaid messages to the current user; ignored if remove_messages_fee is false. If return_permanent_link is true, then the permanent link is revoked too; otherwise, only temporary links are revoked
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? removeMessagesFee, bool? returnPermanentLink, bool? revokePreviousLinks}) → GetUserLink
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib function name, e.g. getMe.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → Map<String, dynamic>
Converts this request to TDLib JSON, tagged with extra if given.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.