RestrictChatMember

@Serializable
data class RestrictChatMember(val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, val permissions: ChatPermissions = ChatPermissions(), val useIndependentChatPermissions: Boolean? = permissions.isGranular.takeIf { it }) : ChatMemberRequest<Boolean> , UntilDate

Constructors

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

Functions

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

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>
Link copied to clipboard
open override val untilDate: TelegramDate? = null
Link copied to clipboard
open override val userId: UserId