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
AddChatMember.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Chat identifier
read / write
extra ↔ dynamic
callback sign
read / write
forwardLimit int
forwardLimit The number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels
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
userId Identifier of 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
'addChatMember'