class Tourmaline::Story

Overview

This object represents a story.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(chat : Tourmaline::Chat, id : Int32 | Int64) #

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

[View source]

Instance Method Detail

def chat : Tourmaline::Chat #

Chat that posted the story


[View source]
def chat=(chat : Tourmaline::Chat) #

Chat that posted the story


[View source]
def id : Int32 | Int64 #

Unique identifier for the story in the chat


[View source]
def id=(id : Int32 | Int64) #

Unique identifier for the story in the chat


[View source]