class TelegramBot::LinkPreviewOptions

Included Modules

Defined in:

telegram_bot/types/link_preview_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(*, is_disabled : Bool | Nil = nil, url : Nil | String = nil, prefer_small_media : Bool | Nil = nil, prefer_large_media : Bool | Nil = nil, show_above_text : Bool | Nil = nil) #

Instance Method Detail

def is_disabled=(is_disabled : Bool | Nil) #

def is_disabled? : Bool | Nil #

def prefer_large_media=(prefer_large_media : Bool | Nil) #

def prefer_large_media? : Bool | Nil #

def prefer_small_media=(prefer_small_media : Bool | Nil) #

def prefer_small_media? : Bool | Nil #

def show_above_text=(show_above_text : Bool | Nil) #

def show_above_text? : Bool | Nil #

def url : String | Nil #

def url=(url : String | Nil) #