ExtendedPrivateChatImpl

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, val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), val paidMessageStarCount: Int? = null, val firstProfileAudio: AudioFile? = null, val rating: UserRating? = null, val uniqueGiftColors: UniqueGiftColors? = null) : 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, acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), paidMessageStarCount: Int? = null, firstProfileAudio: AudioFile? = null, rating: UserRating? = null, uniqueGiftColors: UniqueGiftColors? = null)

Properties

Link copied to clipboard
open override val accentColorId: ColorId
Link copied to clipboard
Link copied to clipboard
open override val activeUsernames: List<Username>
Link copied to clipboard
Link copied to clipboard
open override val backgroundCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
open override val bio: String
Link copied to clipboard
open override val birthdate: Birthdate? = null
Link copied to clipboard
open override val businessIntro: BusinessIntro? = null
Link copied to clipboard
open override val businessLocation: BusinessLocation? = null
Link copied to clipboard
open override val businessOpeningHours: BusinessOpeningHours? = null
Link copied to clipboard
Link copied to clipboard
open override val chatPhoto: ChatPhoto? = null
Link copied to clipboard
open override val firstName: String
Link copied to clipboard
open override val firstProfileAudio: AudioFile? = null
Link copied to clipboard
open override val hasPrivateForwards: Boolean = false
Link copied to clipboard
open override val hasRestrictedVoiceAndVideoMessages: Boolean = false
Link copied to clipboard
open override val id: UserId
Link copied to clipboard
Link copied to clipboard
open override val lastName: String
Link copied to clipboard
open override val maxReactionsCount: Int = 3
Link copied to clipboard
open override val paidMessageStarCount: Int? = null
Link copied to clipboard
open override val personalChat: PreviewChannelChat? = null
Link copied to clipboard
open override val profileAccentColorId: ColorId? = null
Link copied to clipboard
Link copied to clipboard
open override val rating: UserRating? = null
Link copied to clipboard
open override val statusEmojiExpiration: TelegramDate? = null
Link copied to clipboard
open override val statusEmojiId: CustomEmojiId? = null
Link copied to clipboard
open override val uniqueGiftColors: UniqueGiftColors? = null
Link copied to clipboard
open override val username: Username? = null

Functions

Link copied to clipboard

Trying to convert current PrivateChat to User