class Tourmaline::StoryAreaTypeLink

Overview

Describes a story area pointing to an HTTP or tg:// link. Currently, a story can have up to 3 link areas.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, url : String) #

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

[View source]

Instance Method Detail

def type : String #

Type of the area, always "link"


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

Type of the area, always "link"


[View source]
def url : String #

HTTP or tg:// URL to be opened when the area is clicked


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

HTTP or tg:// URL to be opened when the area is clicked


[View source]