PhotoOptions

@Serializable
data class PhotoOptions(var showCaptionAboveMedia: Boolean? = null, var parseMode: ParseMode? = null, var disableNotification: Boolean? = null, var replyParameters: ReplyParameters? = null, var protectContent: Boolean? = null, var messageThreadId: Int? = null, var hasSpoiler: Boolean? = null, var messageEffectId: String? = null, var allowPaidBroadcast: Boolean? = null) : OptionsCommon, ForumProps, OptionsParseMode, MediaSpoiler, MessageEffectIdProp, ShowCaptionAboveMediaProp

Constructors

Link copied to clipboard
constructor(showCaptionAboveMedia: Boolean? = null, parseMode: ParseMode? = null, disableNotification: Boolean? = null, replyParameters: ReplyParameters? = null, protectContent: Boolean? = null, messageThreadId: Int? = null, hasSpoiler: Boolean? = null, messageEffectId: String? = null, allowPaidBroadcast: Boolean? = null)

Properties

Link copied to clipboard
open override var allowPaidBroadcast: Boolean?
Link copied to clipboard
open override var disableNotification: Boolean?
Link copied to clipboard
open override var hasSpoiler: Boolean?
Link copied to clipboard
open override var messageEffectId: String?
Link copied to clipboard
open override var messageThreadId: Int?
Link copied to clipboard
open override var parseMode: ParseMode?
Link copied to clipboard
open override var protectContent: Boolean?
Link copied to clipboard
open override var replyParameters: ReplyParameters?
Link copied to clipboard
Link copied to clipboard
open override var showCaptionAboveMedia: Boolean?

Functions

Link copied to clipboard
open fun replyParameters(messageId: Long, block: ReplyParameters.() -> Unit = {})