Package dev. inmo. tgbotapi. types. chat
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ChannelChatImpl( val id: ChatId, val title: String, val username: Username? = null) : ChannelChat
Content copied to clipboard
Link copied to clipboard
data class ChatJoinRequest( val chat: PublicChat, val from: User, val date: TelegramDate, val inviteLink: ChatInviteLink, val bio: String? = null) : FromUser
Content copied to clipboard
Represent a ChatJoinRequest
Link copied to clipboard
data class ChatPermissions( 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)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class CommonUser( val id: UserId, val firstName: String, val lastName: String = "", val username: Username? = null, val ietfLanguageCode: IetfLanguageCode? = null, val isPremium: Boolean = false, val addedToAttachmentMenu: Boolean = false) : User, WithOptionalLanguageCode, PossiblyPremiumChat, AbleToAddInAttachmentMenuChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ExtendedChannelChatImpl( val id: ChatId, val title: String, val username: Username? = null, val chatPhoto: ChatPhoto? = null, val description: String = "", val inviteLink: String? = null, val pinnedMessage: Message? = null, val linkedGroupChatId: ChatId? = null) : ExtendedChannelChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ExtendedGroupChatImpl( val id: ChatId, val title: String, val chatPhoto: ChatPhoto? = null, val permissions: ChatPermissions, val description: String = "", val inviteLink: String? = null, val pinnedMessage: Message? = null) : ExtendedGroupChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ExtendedPrivateChatImpl( val id: ChatId, val chatPhoto: ChatPhoto? = null, val username: Username? = null, val firstName: String = "", val lastName: String = "", val bio: String = "", val hasPrivateForwards: Boolean = false) : ExtendedPrivateChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ExtendedSupergroupChatImpl( val id: ChatId, val title: String, val username: Username? = null, val chatPhoto: ChatPhoto? = null, val permissions: ChatPermissions, val description: String = "", val inviteLink: String? = null, val pinnedMessage: Message? = null, val stickerSetName: StickerSetName? = null, val slowModeDelay: Long? = null, val canSetStickerSet: Boolean = false, val linkedChannelChatId: ChatId? = null, val location: ChatLocation? = null, val requiresJoinForMessaging: Boolean = false, val requireAdminApproveToJoin: Boolean = false) : ExtendedSupergroupChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PrivateChatImpl( val id: ChatId, val username: Username? = null, val firstName: String = "", val lastName: String = "") : PrivateChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SupergroupChatImpl( val id: ChatId, val title: String, val username: Username? = null) : SupergroupChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class UnknownChatType( val id: ChatId, val raw: String, val rawJson: JsonObject) : Chat
Content copied to clipboard
Link copied to clipboard
data class UnknownExtendedChat( val id: ChatId, val raw: String, val rawJson: JsonObject) : ExtendedChat
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard