UserFullInfo class

Inheritance

Constructors

UserFullInfo({ChatPhoto photo, bool isBlocked, bool canBeCalled, bool supportsVideoCalls, bool hasPrivateCalls, bool needPhoneNumberPrivacyException, String bio, String shareText, int groupInCommonCount, BotInfo botInfo})
Contains full information about a user
UserFullInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

bio String
bio A short user bio
read / write
botInfo BotInfo
botInfo If the user is a bot, information about the bot; may be null
read / write
canBeCalled bool
canBeCalled True, if the user can be called
read / write
extra ↔ dynamic
callback sign
read / write
groupInCommonCount int
groupInCommonCount Number of group chats where both the other user and the current user are a member; 0 for the current user
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasPrivateCalls bool
hasPrivateCalls True, if the user can't be called due to their privacy settings
read / write
isBlocked bool
isBlocked True, if the user is blocked by the current user
read / write
needPhoneNumberPrivacyException bool
needPhoneNumberPrivacyException True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used
read / write
photo ChatPhoto
photo User profile photo; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shareText String
shareText For bots, the text that is included with the link when users share the bot
read / write
supportsVideoCalls bool
supportsVideoCalls True, if a video call can be created with the user
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'userFullInfo'