toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal.options
/
VoiceOptions
Voice
Options
@
Serializable
data
class
VoiceOptions
(
var
parseMode
:
ParseMode
?
=
null
,
var
duration
:
Int
?
=
null
,
var
disableNotification
:
Boolean
?
=
null
,
var
protectContent
:
Boolean
?
=
null
,
var
replyParameters
:
ReplyParameters
?
=
null
,
var
messageThreadId
:
Int
?
=
null
,
var
messageEffectId
:
String
?
=
null
,
var
allowPaidBroadcast
:
Boolean
?
=
null
)
:
OptionsCommon
,
ForumProps
,
OptionsParseMode
,
MessageEffectIdProp
Members
Constructors
Voice
Options
Link copied to clipboard
constructor
(
parseMode
:
ParseMode
?
=
null
,
duration
:
Int
?
=
null
,
disableNotification
:
Boolean
?
=
null
,
protectContent
:
Boolean
?
=
null
,
replyParameters
:
ReplyParameters
?
=
null
,
messageThreadId
:
Int
?
=
null
,
messageEffectId
:
String
?
=
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
?
duration
Link copied to clipboard
var
duration
:
Int
?
message
Effect
Id
Link copied to clipboard
open
override
var
messageEffectId
:
String
?
message
Thread
Id
Link copied to clipboard
open
override
var
messageThreadId
:
Int
?
parse
Mode
Link copied to clipboard
open
override
var
parseMode
:
ParseMode
?
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
?
Functions
reply
Parameters
Link copied to clipboard
open
fun
replyParameters
(
messageId
:
Long
,
block
:
ReplyParameters
.
(
)
->
Unit
=
{}
)