class Tourmaline::PaidMediaVideo

Overview

The paid media is a video.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, video : Tourmaline::Video) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def type : String #

Type of the paid media, always "video"


[View source]
def type=(type : String) #

Type of the paid media, always "video"


[View source]
def video : Tourmaline::Video #

The video


[View source]
def video=(video : Tourmaline::Video) #

The video


[View source]