Package dev.inmo.tgbotapi.types.chat.member

Types

Link copied to clipboard
Link copied to clipboard
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) : AdministratorChatMember
Link copied to clipboard
object AdministratorChatMemberSerializer : KSerializer<AdministratorChatMember>
Link copied to clipboard
interface BannedChatMember : ChatMember, UntilDate
Link copied to clipboard
interface ChatAdministratorRights : SpecialChatAdministratorRights
Link copied to clipboard
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) : ChatAdministratorRights
Link copied to clipboard
interface ChatMember : WithUser
Link copied to clipboard
object ChatMemberSerializer : KSerializer<ChatMember>
Link copied to clipboard
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
data class KickedChatMember(val user: User, val untilDate: TelegramDate? = null) : BannedChatMember
Link copied to clipboard
interface LeftChatMember : ChatMember
Link copied to clipboard
data class LeftChatMemberImpl(val user: User) : LeftChatMember
Link copied to clipboard
interface MemberChatMember : ChatMember
Link copied to clipboard
data class MemberChatMemberImpl(val user: User) : MemberChatMember
Link copied to clipboard
data class OwnerChatMember(    val user: User,     val isAnonymous: Boolean = false,     val customTitle: String? = null) : AdministratorChatMember
Link copied to clipboard
data class RestrictedChatMember(    val user: User,     val untilDate: TelegramDate? = null,     val isMember: Boolean = false,     val canSendMessages: Boolean = false,     val canSendMediaMessages: 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) : BannedChatMember, SpecialRightsChatMember
Link copied to clipboard
interface SpecialChatAdministratorRights
Link copied to clipboard
interface SpecialRightsChatMember : ChatMember, SpecialChatAdministratorRights