Package dev.inmo.tgbotapi.types.chat

Types

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

Properties

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