UpdateChatMember class final
User rights changed in a chat; for bots only
Constructors
- UpdateChatMember({required int chatId, required int actorUserId, required int date, ChatInviteLink? inviteLink, required bool viaChatFolderInviteLink, required ChatMember oldChatMember, required ChatMember newChatMember, dynamic extra, int? clientId})
-
User rights changed in a chat; for bots only
const
-
UpdateChatMember.fromJson(Map<
String, dynamic> json) -
Parses a UpdateChatMember from TDLib JSON.
factory
Properties
- actorUserId → int
-
Identifier of the user, changing the rights
final
- chatId → int
-
Chat identifier
final
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- date → int
-
Point in time (Unix timestamp) when the user rights was changed
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviteLink → ChatInviteLink?
-
If user has joined the chat using an invite link, the invite link; may be null
final
- newChatMember → ChatMember
-
New chat member
final
- oldChatMember → ChatMember
-
Previous chat member
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viaChatFolderInviteLink → bool
-
True, if the user has joined the chat using an invite link for a chat folder
final
Methods
-
copyWith(
{int? chatId, int? actorUserId, int? date, ChatInviteLink? inviteLink()?, bool? viaChatFolderInviteLink, ChatMember? oldChatMember, ChatMember? newChatMember, dynamic extra, int? clientId}) → UpdateChatMember -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
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.