struct

Telegram::InputStoryContentVideo

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputStoryContentVideo Describes a video to post as a story.

Constructors

new(type : String, video : String, duration : Float64 | Nil = nil, cover_frame_timestamp : Float64 | Nil = nil, is_animation : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(type _type = @type, video _video = @video, duration _duration = @duration, cover_frame_timestamp _cover_frame_timestamp = @cover_frame_timestamp, is_animation _is_animation = @is_animation)
Source
cover_frame_timestamp
duration
is_animation
type
video