Skip to content

class Tourmaline::Story
inherits Reference #

This object represents a story.

Included modules

JSON::Serializable

Constructors#

.new(chat, id) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#chat : Tourmaline::Chat #

Chat that posted the story

View source

#chat=(chat : Tourmaline::Chat) #

Chat that posted the story

View source

#id : Int32 | Int64 #

Unique identifier for the story in the chat

View source

#id=(id : Int32 | Int64) #

Unique identifier for the story in the chat

View source