UserFullInfo class

Contains full information about a user

Inheritance

Constructors

UserFullInfo({String? extra, int? client_id, ChatPhoto? personal_photo, ChatPhoto? photo, ChatPhoto? public_photo, Bool? is_blocked, Bool? can_be_called, Bool? supports_video_calls, Bool? has_private_calls, Bool? has_private_forwards, Bool? has_restricted_voice_and_video_note_messages, Bool? need_phone_number_privacy_exception, FormattedText? bio, vector<PremiumPaymentOption>? premium_gift_options, int32? group_in_common_count, BotInfo? bot_info})
UserFullInfo.fromMap(Map<String, dynamic> map)

Properties

bio FormattedText?
A short user bio; may be null for bots
getter/setter pair
bot_info BotInfo?
For bots, information about the bot; may be null
getter/setter pair
can_be_called Bool?
True, if the user can be called
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
group_in_common_count int32?
Number of group chats where both the other user and the current user are a member; 0 for the current user
getter/setter pair
has_private_calls Bool?
True, if the user can't be called due to their privacy settings
getter/setter pair
has_private_forwards Bool?
True, if the user can't be linked in forwarded messages due to their privacy settings
getter/setter pair
has_restricted_voice_and_video_note_messages Bool?
True, if voice and video notes can't be sent or forwarded to the user
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_blocked Bool?
True, if the user is blocked by the current user
getter/setter pair
need_phone_number_privacy_exception Bool?
True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used
getter/setter pair
personal_photo ChatPhoto?
User profile photo set by the current user for the contact; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos
getter/setter pair
photo ChatPhoto?
User profile photo; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and personal_photo is null, then it is the same photo as in user.profile_photo and chat.photo
getter/setter pair
premium_gift_options vector<PremiumPaymentOption>?
The list of available options for gifting Telegram Premium to the user
getter/setter pair
public_photo ChatPhoto?
User profile photo visible if the main photo is hidden by privacy settings; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and both photo and personal_photo are null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supports_video_calls Bool?
True, if a video call can be created with the user
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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