SetChatPermissions
public struct SetChatPermissions : Codable, Equatable, TDFunction
Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
New non-administrator members permissions in the chat
Declaration
Swift
public let permissions: ChatPermissions -
Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right
Declaration
Swift
public init(chatId: Int53, permissions: ChatPermissions)Parameters
chatIdChat identifier
permissionsNew non-administrator members permissions in the chat
View on GitHub
Install in Dash
SetChatPermissions Structure Reference