SetChatPermissions

@Serializable
data class SetChatPermissions(val chatId: ChatIdentifier, val permissions: ChatPermissions, val useIndependentChatPermissions: Boolean? = permissions.isGranular.takeIf { it }) : ChatRequest, SimpleRequest<Boolean>

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, permissions: ChatPermissions, useIndependentChatPermissions: Boolean? = permissions.isGranular.takeIf { it })

Properties

Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>

Functions

Link copied to clipboard
open override fun method(): String