ExtendedPrivateChatImpl

@Serializable
data class ExtendedPrivateChatImpl(val id: UserId, val chatPhoto: ChatPhoto? = null, val username: Username? = null, val activeUsernames: List<Username> = emptyList(), val firstName: String = "", val lastName: String = "", val bio: String = "", val hasPrivateForwards: Boolean = false, val hasRestrictedVoiceAndVideoMessages: Boolean = false, 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 businessIntro: BusinessIntro? = null, val businessLocation: BusinessLocation? = null, val businessOpeningHours: BusinessOpeningHours? = null, val birthdate: Birthdate? = null, val personalChat: PreviewChannelChat? = null, val maxReactionsCount: Int = 3) : ExtendedPrivateChat

Constructors

Link copied to clipboard
constructor(id: UserId, chatPhoto: ChatPhoto? = null, username: Username? = null, activeUsernames: List<Username> = emptyList(), firstName: String = "", lastName: String = "", bio: String = "", hasPrivateForwards: Boolean = false, hasRestrictedVoiceAndVideoMessages: Boolean = false, statusEmojiId: CustomEmojiId? = null, statusEmojiExpiration: TelegramDate? = null, accentColorId: ColorId = ColorId(0), profileAccentColorId: ColorId? = null, backgroundCustomEmojiId: CustomEmojiId? = null, profileBackgroundCustomEmojiId: CustomEmojiId? = null, businessIntro: BusinessIntro? = null, businessLocation: BusinessLocation? = null, businessOpeningHours: BusinessOpeningHours? = null, birthdate: Birthdate? = null, personalChat: PreviewChannelChat? = 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
Link copied to clipboard
@SerialName(value = "background_custom_emoji_id")
open override val backgroundCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "bio")
open override val bio: String
Link copied to clipboard
@SerialName(value = "birthdate")
open override val birthdate: Birthdate? = null
Link copied to clipboard
@SerialName(value = "business_intro")
open override val businessIntro: BusinessIntro? = null
Link copied to clipboard
@SerialName(value = "business_location")
open override val businessLocation: BusinessLocation? = null
Link copied to clipboard
@SerialName(value = "business_opening_hours")
open override val businessOpeningHours: BusinessOpeningHours? = null
Link copied to clipboard
@SerialName(value = "photo")
open override val chatPhoto: ChatPhoto? = null
Link copied to clipboard
@SerialName(value = "first_name")
open override val firstName: String
Link copied to clipboard
@SerialName(value = "has_private_forwards")
open override val hasPrivateForwards: Boolean = false
Link copied to clipboard
@SerialName(value = "has_restricted_voice_and_video_messages")
open override val hasRestrictedVoiceAndVideoMessages: Boolean = false
Link copied to clipboard
@SerialName(value = "id")
open override val id: UserId
Link copied to clipboard
@SerialName(value = "last_name")
open override val lastName: String
Link copied to clipboard
@SerialName(value = "max_reaction_count")
open override val maxReactionsCount: Int = 3
Link copied to clipboard
@SerialName(value = "personal_chat")
@Serializable(with = PreviewChatSerializer::class)
open override val personalChat: PreviewChannelChat? = 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 = "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 = "username")
open override val username: Username? = null