BotVerification class final

Describes verification status provided by a bot

Inheritance

Constructors

BotVerification({required int botUserId, required int iconCustomEmojiId, required FormattedText customDescription})
Describes verification status provided by a bot
const
BotVerification.fromJson(Map<String, dynamic> json)
Parses a BotVerification from TDLib JSON.
factory

Properties

botUserId → int
Identifier of the bot that provided the verification
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
customDescription → FormattedText
Custom description of verification reason set by the bot. Can contain only Mention, Hashtag, Cashtag, PhoneNumber, BankCardNumber, TonAddress, Url, and EmailAddress entities
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
iconCustomEmojiId → int
Identifier of the custom emoji that is used as the verification sign
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? botUserId, int? iconCustomEmojiId, FormattedText? customDescription}) → BotVerification
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 type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
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.