ExtendedBot
data class ExtendedBot(val id: UserId, val firstName: String, val lastName: String = "", val username: Username? = null, val canJoinGroups: Boolean = false, val canReadAllGroupMessages: Boolean = false, val supportsInlineQueries: Boolean = false, val canConnectToBusiness: Boolean = false, val chatPhoto: ChatPhoto? = null, val accentColorId: ColorId = ColorId(0), val profileAccentColorId: ColorId? = null, val backgroundCustomEmojiId: CustomEmojiId? = null, val profileBackgroundCustomEmojiId: CustomEmojiId? = null, val maxReactionsCount: Int = 3, val hasMainWebApp: Boolean = false, val hasTopicsEnabled: Boolean = false, val allowUsersToCreateTopics: Boolean = false, val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), val uniqueGiftColors: UniqueGiftColors? = null) : Bot, ExtendedChat
Constructors
Link copied to clipboard
constructor(id: UserId, firstName: String, lastName: String = "", username: Username? = null, canJoinGroups: Boolean = false, canReadAllGroupMessages: Boolean = false, supportsInlineQueries: Boolean = false, canConnectToBusiness: Boolean = false, chatPhoto: ChatPhoto? = null, accentColorId: ColorId = ColorId(0), profileAccentColorId: ColorId? = null, backgroundCustomEmojiId: CustomEmojiId? = null, profileBackgroundCustomEmojiId: CustomEmojiId? = null, maxReactionsCount: Int = 3, hasMainWebApp: Boolean = false, hasTopicsEnabled: Boolean = false, allowUsersToCreateTopics: Boolean = false, acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), uniqueGiftColors: UniqueGiftColors? = null)
Properties
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
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
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Trying to convert current PrivateChat to User