toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal.options
/
PaidMediaOptions
Paid
Media
Options
@
Serializable
data
class
PaidMediaOptions
(
var
payload
:
String
?
=
null
,
var
disableNotification
:
Boolean
?
=
null
,
var
protectContent
:
Boolean
?
=
null
,
var
replyParameters
:
ReplyParameters
?
=
null
,
var
parseMode
:
ParseMode
?
=
null
,
var
showCaptionAboveMedia
:
Boolean
?
=
null
,
var
allowPaidBroadcast
:
Boolean
?
=
null
)
:
OptionsCommon
,
OptionsParseMode
,
ShowCaptionAboveMediaProp
Members
Constructors
Paid
Media
Options
Link copied to clipboard
constructor
(
payload
:
String
?
=
null
,
disableNotification
:
Boolean
?
=
null
,
protectContent
:
Boolean
?
=
null
,
replyParameters
:
ReplyParameters
?
=
null
,
parseMode
:
ParseMode
?
=
null
,
showCaptionAboveMedia
:
Boolean
?
=
null
,
allowPaidBroadcast
:
Boolean
?
=
null
)
Properties
allow
Paid
Broadcast
Link copied to clipboard
open
override
var
allowPaidBroadcast
:
Boolean
?
disable
Notification
Link copied to clipboard
open
override
var
disableNotification
:
Boolean
?
parse
Mode
Link copied to clipboard
open
override
var
parseMode
:
ParseMode
?
payload
Link copied to clipboard
var
payload
:
String
?
protect
Content
Link copied to clipboard
open
override
var
protectContent
:
Boolean
?
reply
Parameters
Link copied to clipboard
open
override
var
replyParameters
:
ReplyParameters
?
reply
To
Message
Id
Link copied to clipboard
open
var
replyToMessageId
:
Long
?
show
Caption
Above
Media
Link copied to clipboard
open
override
var
showCaptionAboveMedia
:
Boolean
?
Functions
reply
Parameters
Link copied to clipboard
open
fun
replyParameters
(
messageId
:
Long
,
block
:
ReplyParameters
.
(
)
->
Unit
=
{}
)