class TD::ThemeSettings

Included Modules

Defined in:

telegram/types/theme_settings.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(accent_color : Int32, background : Union(TD::Background, Nil), outgoing_message_fill : TD::BackgroundFill, outgoing_message_accent_color : Int32, animate_outgoing_message_fill : Bool = false) #

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

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def accent_color : Int32 #

def accent_color=(accent_color : Int32) #

def animate_outgoing_message_fill : Bool #

def animate_outgoing_message_fill=(animate_outgoing_message_fill : Bool) #

def background : TD::Background? #

def background=(background : Nil | TD::Background) #

def object_type : String #

def object_type=(object_type : String) #

def outgoing_message_accent_color : Int32 #

def outgoing_message_accent_color=(outgoing_message_accent_color : Int32) #

def outgoing_message_fill : TD::BackgroundFill #

def outgoing_message_fill=(outgoing_message_fill : TD::BackgroundFill) #