Package dev.inmo.tgbotapi.types.chat

Types

ChannelChatImpl
Link copied to clipboard
common
data class ChannelChatImpl(id: ChatId, title: String, username: Username?) : ChannelChat
ChatPermissions
Link copied to clipboard
common
data class ChatPermissions(canSendMessages: Boolean, canSendMediaMessages: Boolean, canSendPolls: Boolean, canSendOtherMessages: Boolean, canAddWebPagePreviews: Boolean, canChangeInfo: Boolean, canInviteUsers: Boolean, canPinMessages: Boolean)
ChatType
Link copied to clipboard
common
sealed class ChatType
ChatTypeSerializer
Link copied to clipboard
common
object ChatTypeSerializer : KSerializer<ChatType>
ExtendedChatSerializer
Link copied to clipboard
common
object ExtendedChatSerializer : KSerializer<ExtendedChat>
GroupChatImpl
Link copied to clipboard
common
data class GroupChatImpl(id: ChatId, title: String) : GroupChat
PreviewChatSerializer
Link copied to clipboard
common
object PreviewChatSerializer : KSerializer<Chat>
PrivateChatImpl
Link copied to clipboard
common
data class PrivateChatImpl(id: ChatId, username: Username?, firstName: String, lastName: String) : PrivateChat
SupergroupChatImpl
Link copied to clipboard
common
data class SupergroupChatImpl(id: ChatId, title: String, username: Username?) : SupergroupChat

Properties

asChatType
Link copied to clipboard
common
val String.asChatType: ChatType
LeftRestrictionsChatPermissions
Link copied to clipboard
common
val LeftRestrictionsChatPermissions: ChatPermissions
RestrictionsChatPermissions
Link copied to clipboard
common
val RestrictionsChatPermissions: ChatPermissions