Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BanChatMember(val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, val revokeMessages: Boolean? = null) : ChatMemberRequest<Boolean> , UntilDate
Link copied to clipboard
@Serializable
data class BanChatSenderChat(val chatId: ChatIdentifier, val senderChatId: IdChatIdentifier) : ChatSenderRequest

Representation of banChatSenderChat request

Link copied to clipboard
@Serializable
data class GetChatMember(val chatId: ChatIdentifier, val userId: UserId) : ChatMemberRequest<ChatMember>
Link copied to clipboard
@Serializable
data class PromoteChatMember(val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, isAnonymous: Boolean? = null, canChangeInfo: Boolean? = null, canPostMessages: Boolean? = null, canEditMessages: Boolean? = null, canDeleteMessages: Boolean? = null, canInviteUsers: Boolean? = null, canRestrictMembers: Boolean? = null, canPinMessages: Boolean? = null, canPromoteMembers: Boolean? = null, canManageVideoChats: Boolean? = null, canManageChat: Boolean? = null, canManageTopics: Boolean? = null) : ChatMemberRequest<Boolean> , UntilDate
Link copied to clipboard
@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
Link copied to clipboard
@Serializable
data class SetChatAdministratorCustomTitle(val chatId: ChatIdentifier, val userId: UserId, val customTitle: String) : ChatMemberRequest<Boolean>
Link copied to clipboard
@Serializable
data class UnbanChatMember(val chatId: ChatIdentifier, val userId: UserId, val onlyIfBanned: Boolean? = null) : ChatMemberRequest<Boolean>
Link copied to clipboard
@Serializable
data class UnbanChatSenderChat(val chatId: ChatIdentifier, val senderChatId: IdChatIdentifier) : ChatSenderRequest

Representation of unbanChatSenderChat request