docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.types.stories
/
InputStoryContent
/
Video
Video
@
Serializable
data
class
Video
(
val
video
:
MultipartFile
,
val
duration
:
DoubleSeconds
?
=
null
,
val
coverFrameTimeStamp
:
DoubleSeconds
?
=
null
,
val
isAnimation
:
Boolean
=
false
)
:
InputStoryContent
(
source
)
Members
Constructors
Video
Link copied to clipboard
constructor
(
video
:
MultipartFile
,
duration
:
DoubleSeconds
?
=
null
,
coverFrameTimeStamp
:
DoubleSeconds
?
=
null
,
isAnimation
:
Boolean
=
false
)
Types
Type
Link copied to clipboard
@
Serializable
(
with
=
InputStoryContent.Type.Companion::class
)
object
Type
:
InputStoryContent.Type
Properties
cover
Frame
Time
Stamp
Link copied to clipboard
@
SerialName
(
value
=
"cover_frame_timestamp"
)
val
coverFrameTimeStamp
:
DoubleSeconds
?
duration
Link copied to clipboard
@
SerialName
(
value
=
"duration"
)
val
duration
:
DoubleSeconds
?
is
Animation
Link copied to clipboard
@
SerialName
(
value
=
"is_animation"
)
val
isAnimation
:
Boolean
media
Link copied to clipboard
open
override
val
media
:
Pair
<
String
,
MultipartFile
>
type
Link copied to clipboard
@
EncodeDefault
open
override
val
type
:
InputStoryContent.Video.Type
video
Link copied to clipboard
@
SerialName
(
value
=
"video"
)
val
video
:
MultipartFile