AddChatMember class

Inheritance

Constructors

AddChatMember({int chatId, int userId, int forwardLimit})
Adds a new member to a chat. Members can't be added to private or secret chats. Members will not be added until the chat state has been synchronized with the server. chatId Chat identifier . userId Identifier of the user . forwardLimit The number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels
AddChatMember.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
read / write
constructor String
read / write, inherited
extra ↔ dynamic
read / write
forwardLimit int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"addChatMember"