Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AdministratorChatMemberImpl(val user: User, val canBeEdited: Boolean = false, val canChangeInfo: Boolean = false, val canPostMessages: Boolean = false, val canEditMessages: Boolean = false, val canRemoveMessages: Boolean = false, val canInviteUsers: Boolean = false, val canRestrictMembers: Boolean = false, val canPinMessages: Boolean = false, val canPromoteMembers: Boolean = false, val canManageVideoChats: Boolean = false, val canManageChat: Boolean = false, val isAnonymous: Boolean = false, val customTitle: String? = null, val canManageTopics: Boolean = false) : AdministratorChatMember
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ChatAdministratorRightsImpl(val canChangeInfo: Boolean = false, val canPostMessages: Boolean = false, val canEditMessages: Boolean = false, val canRemoveMessages: Boolean = false, val canInviteUsers: Boolean = false, val canRestrictMembers: Boolean = false, val canPinMessages: Boolean = false, val canPromoteMembers: Boolean = false, val canManageVideoChats: Boolean = false, val canManageChat: Boolean = false, val isAnonymous: Boolean = false, val canManageTopics: Boolean = false) : ChatAdministratorRights
Link copied to clipboard
@Serializable(with = ChatMemberSerializer::class)
interface ChatMember : WithUser
Link copied to clipboard
object ChatMemberSerializer : KSerializer<ChatMember>
Link copied to clipboard
@Serializable
data class ChatMemberUpdated(val chat: Chat, val user: User, val date: TelegramDate, val oldChatMemberState: ChatMember, val newChatMemberState: ChatMember, val inviteLink: ChatInviteLink? = null)
Link copied to clipboard
@Serializable
data class KickedChatMember(val user: User, val untilDate: TelegramDate? = null) : BannedChatMember
Link copied to clipboard
@Serializable(with = ChatMemberSerializer::class)
interface LeftChatMember : ChatMember
Link copied to clipboard
@Serializable
data class LeftChatMemberImpl(val user: User) : LeftChatMember
Link copied to clipboard
Link copied to clipboard
@Serializable
data class MemberChatMemberImpl(val user: User) : MemberChatMember
Link copied to clipboard
@Serializable
data class OwnerChatMember(val user: User, val isAnonymous: Boolean = false, val customTitle: String? = null) : AdministratorChatMember
Link copied to clipboard
@Serializable
data class RestrictedChatMember(val user: User, val untilDate: TelegramDate? = null, val isMember: Boolean = false, val canSendMessages: Boolean = false, val canSendAudios: Boolean = false, val canSendDocuments: Boolean = false, val canSendPhotos: Boolean = false, val canSendVideos: Boolean = false, val canSendVideoNotes: Boolean = false, val canSendVoiceNotes: Boolean = false, val canSendPolls: Boolean = false, val canSendOtherMessages: Boolean = false, val canAddWebPagePreviews: Boolean = false, val canChangeInfo: Boolean = false, val canInviteUsers: Boolean = false, val canPinMessages: Boolean = false, val canManageTopics: Boolean = false) : BannedChatMember, SpecialRightsChatMember, ChatPermissions