AddChatMember
public struct AddChatMember : Codable, Equatable, TDFunction
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
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
Identifier of the user
Declaration
Swift
public let userId: Int32 -
The number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels
Declaration
Swift
public let forwardLimit: Int32 -
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
Declaration
Swift
public init(chatId: Int53, userId: Int32, forwardLimit: Int32)Parameters
chatIdChat identifier
userIdIdentifier of the user
forwardLimitThe number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels
View on GitHub
Install in Dash
AddChatMember Structure Reference