UserFullInfo class

Inheritance

Constructors

UserFullInfo({ChatPhoto? photo, required bool isBlocked, required bool canBeCalled, required bool supportsVideoCalls, required bool hasPrivateCalls, required bool hasPrivateForwards, required bool needPhoneNumberPrivacyException, required String bio, required String shareText, required String description, required int groupInCommonCount, required List<BotCommand> commands, dynamic extra, int? clientId})
Contains full information about a user
const
UserFullInfo.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

bio String
bio A short user bio
final
canBeCalled bool
canBeCalled True, if the user can be called
final
clientId int?
clientId client identifier
final
commands List<BotCommand>
commands For bots, list of the bot commands
final
description String
description For bots, the text shown in the chat with the bot if the chat is empty
final
extra → dynamic
extra callback sign
final
groupInCommonCount int
groupInCommonCount Number of group chats where both the other user and the current user are a member; 0 for the current user
final
hashCode int
The hash code for this object.
no setterinherited
hasPrivateCalls bool
hasPrivateCalls True, if the user can't be called due to their privacy settings
final
hasPrivateForwards bool
hasPrivateForwards True, if the user can't be linked in forwarded messages due to their privacy settings
final
isBlocked bool
isBlocked True, if the user is blocked by the current user
final
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
final
photo ChatPhoto?
photo User profile photo; may be null
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareText String
shareText For bots, the text that is shown on the bot's profile page and is sent together with the link when users share the bot
final
supportsVideoCalls bool
supportsVideoCalls True, if a video call can be created with the user
final

Methods

copyWith({ChatPhoto? photo, bool? isBlocked, bool? canBeCalled, bool? supportsVideoCalls, bool? hasPrivateCalls, bool? hasPrivateForwards, bool? needPhoneNumberPrivacyException, String? bio, String? shareText, String? description, int? groupInCommonCount, List<BotCommand>? commands, dynamic extra, int? clientId}) UserFullInfo
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) 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