TelegramBotAPI
common
tgbotapi.core
/
dev.inmo.tgbotapi.requests.send.media
/
SendAnimationData
Send
Animation
Data
@
Serializable
data
class
SendAnimationData
:
DataRequest
<
ContentMessage
<
AnimationContent
>
>
,
SendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
ReplyingMarkupSendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
TextableSendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
ThumbedSendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
DuratedSendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
SizedSendMessageRequest
<
ContentMessage
<
AnimationContent
>
>
,
OptionallyWithSpoilerRequest
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
animation
Link copied to clipboard
val
animation
:
InputFile
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
>
?
height
Link copied to clipboard
open
override
val
height
:
Int
?
=
null
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
<
AnimationContent
>
>
spoilered
Link copied to clipboard
open
override
val
spoilered
:
Boolean
=
false
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
?
thumb
Link copied to clipboard
open
val
thumb
:
String
?
thumbnail
Link copied to clipboard
open
override
val
thumbnail
:
String
?
=
null
width
Link copied to clipboard
open
override
val
width
:
Int
?
=
null