ExtendedSupergroupChatImpl

@Serializable
data class ExtendedSupergroupChatImpl(val id: ChatId, val title: String, val username: Username? = null, val activeUsernames: List<Username> = emptyList(), 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: IdChatIdentifier? = null, val location: ChatLocation? = null, val requiresJoinForMessaging: Boolean = false, val requireAdminApproveToJoin: Boolean = false, val isAggressiveAntiSpamEnabled: Boolean = false, val membersHidden: Boolean = false, val availableReactions: List<Reaction>? = null, val statusEmojiId: CustomEmojiId? = null, val statusEmojiExpiration: TelegramDate? = null, val accentColorId: ColorId = ColorId(0), val profileAccentColorId: ColorId? = null, val backgroundCustomEmojiId: CustomEmojiId? = null, val profileBackgroundCustomEmojiId: CustomEmojiId? = null, val newMembersSeeHistory: Boolean = false, val unrestrictBoostsCount: Int? = null, val customEmojiStickerSetName: StickerSetName? = null, val maxReactionsCount: Int = 3) : ExtendedSupergroupChat

Constructors

Link copied to clipboard
constructor(id: ChatId, title: String, username: Username? = null, activeUsernames: List<Username> = emptyList(), chatPhoto: ChatPhoto? = null, permissions: ChatPermissions, description: String = "", inviteLink: String? = null, pinnedMessage: Message? = null, stickerSetName: StickerSetName? = null, slowModeDelay: Long? = null, canSetStickerSet: Boolean = false, linkedChannelChatId: IdChatIdentifier? = null, location: ChatLocation? = null, requiresJoinForMessaging: Boolean = false, requireAdminApproveToJoin: Boolean = false, isAggressiveAntiSpamEnabled: Boolean = false, membersHidden: Boolean = false, availableReactions: List<Reaction>? = null, statusEmojiId: CustomEmojiId? = null, statusEmojiExpiration: TelegramDate? = null, accentColorId: ColorId = ColorId(0), profileAccentColorId: ColorId? = null, backgroundCustomEmojiId: CustomEmojiId? = null, profileBackgroundCustomEmojiId: CustomEmojiId? = null, newMembersSeeHistory: Boolean = false, unrestrictBoostsCount: Int? = null, customEmojiStickerSetName: StickerSetName? = null, maxReactionsCount: Int = 3)

Properties

Link copied to clipboard
@SerialName(value = "accent_color_id")
open override val accentColorId: ColorId
Link copied to clipboard
@SerialName(value = "active_usernames")
open override val activeUsernames: List<Username>
Link copied to clipboard
@SerialName(value = "available_reactions")
open override val availableReactions: List<Reaction>? = null
Link copied to clipboard
@SerialName(value = "background_custom_emoji_id")
open override val backgroundCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "can_set_sticker_set")
open override val canSetStickerSet: Boolean = false
Link copied to clipboard
@SerialName(value = "photo")
open override val chatPhoto: ChatPhoto? = null
Link copied to clipboard
@SerialName(value = "custom_emoji_sticker_set_name")
open override val customEmojiStickerSetName: StickerSetName? = null
Link copied to clipboard
@SerialName(value = "description")
open override val description: String
Link copied to clipboard
@SerialName(value = "id")
open override val id: ChatId
Link copied to clipboard
@SerialName(value = "invite_link")
open override val inviteLink: String? = null
Link copied to clipboard
@SerialName(value = "has_aggressive_anti_spam_enabled")
open override val isAggressiveAntiSpamEnabled: Boolean = false

This field represents field "has_aggressive_anti_spam_enabled" from API

Link copied to clipboard
@SerialName(value = "linked_chat_id")
open override val linkedChannelChatId: IdChatIdentifier? = null
Link copied to clipboard
@SerialName(value = "location")
open override val location: ChatLocation? = null
Link copied to clipboard
@SerialName(value = "max_reaction_count")
open override val maxReactionsCount: Int = 3
Link copied to clipboard
@SerialName(value = "has_hidden_members")
open override val membersHidden: Boolean = false
Link copied to clipboard
@SerialName(value = "has_visible_history")
open override val newMembersSeeHistory: Boolean = false
Link copied to clipboard
@SerialName(value = "permissions")
open override val permissions: ChatPermissions
Link copied to clipboard
@SerialName(value = "pinned_message")
open override val pinnedMessage: Message? = null
Link copied to clipboard
@SerialName(value = "profile_accent_color_id")
open override val profileAccentColorId: ColorId? = null
Link copied to clipboard
@SerialName(value = "profile_background_custom_emoji_id")
open override val profileBackgroundCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "join_by_request")
open override val requireAdminApproveToJoin: Boolean = false

This field represents field "join_by_request" from API

Link copied to clipboard
@SerialName(value = "join_to_send_messages")
open override val requiresJoinForMessaging: Boolean = false

This field represents field "join_to_send_messages" from API

Link copied to clipboard
@SerialName(value = "slow_mode_delay")
open override val slowModeDelay: Long? = null
Link copied to clipboard
@SerialName(value = "emoji_status_expiration_date")
open override val statusEmojiExpiration: TelegramDate? = null
Link copied to clipboard
@SerialName(value = "emoji_status_custom_emoji_id")
open override val statusEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "sticker_set_name")
open override val stickerSetName: StickerSetName? = null
Link copied to clipboard
@SerialName(value = "title")
open override val title: String
Link copied to clipboard
@SerialName(value = "unrestrict_boost_count")
open override val unrestrictBoostsCount: Int? = null
Link copied to clipboard
@SerialName(value = "username")
open override val username: Username? = null