TelegramBotAPI
common
tgbotapi.core
/
dev.inmo.tgbotapi.requests.send.media
/
SendVoiceData
Send
Voice
Data
@
Serializable
data
class
SendVoiceData
:
DataRequest
<
ContentMessage
<
VoiceContent
>
>
,
SendMessageRequest
<
ContentMessage
<
VoiceContent
>
>
,
ReplyingMarkupSendMessageRequest
<
ContentMessage
<
VoiceContent
>
>
,
TextableSendMessageRequest
<
ContentMessage
<
VoiceContent
>
>
,
DuratedSendMessageRequest
<
ContentMessage
<
VoiceContent
>
>
Members
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
allow
Sending
Without
Reply
Link copied to clipboard
open
override
val
allowSendingWithoutReply
:
Boolean
?
=
null
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
disable
Notification
Link copied to clipboard
open
override
val
disableNotification
:
Boolean
=
false
duration
Link copied to clipboard
open
override
val
duration
:
Long
?
=
null
Duration of media, usually in seconds
entities
Link copied to clipboard
open
val
entities
:
List
<
TextSource
>
?
parse
Mode
Link copied to clipboard
open
override
val
parseMode
:
ParseMode
?
=
null
protect
Content
Link copied to clipboard
open
override
val
protectContent
:
Boolean
=
false
reply
Markup
Link copied to clipboard
open
override
val
replyMarkup
:
KeyboardMarkup
?
=
null
reply
To
Message
Id
Link copied to clipboard
open
override
val
replyToMessageId
:
MessageId
?
=
null
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
ContentMessage
<
VoiceContent
>
>
text
Link copied to clipboard
open
override
val
text
:
String
?
=
null
text
Sources
Link copied to clipboard
open
override
val
textSources
:
TextSourcesList
?
Full list of TextSources
thread
Id
Link copied to clipboard
open
override
val
threadId
:
MessageThreadId
?
voice
Link copied to clipboard
val
voice
:
String
?
=
null