class TD::ChatNotificationSettings

Included Modules

Defined in:

telegram/types/chat_notification_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(mute_for : Int32, sound : String, use_default_mute_for : Bool = false, use_default_sound : Bool = false, use_default_show_preview : Bool = false, show_preview : Bool = false, use_default_disable_pinned_message_notifications : Bool = false, disable_pinned_message_notifications : Bool = false, use_default_disable_mention_notifications : Bool = false, disable_mention_notifications : 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 disable_mention_notifications : Bool #

def disable_mention_notifications=(disable_mention_notifications : Bool) #

def disable_pinned_message_notifications : Bool #

def disable_pinned_message_notifications=(disable_pinned_message_notifications : Bool) #

def mute_for : Int32 #

def mute_for=(mute_for : Int32) #

def object_type : String #

def object_type=(object_type : String) #

def show_preview : Bool #

def show_preview=(show_preview : Bool) #

def sound : String #

def sound=(sound : String) #

def use_default_disable_mention_notifications : Bool #

def use_default_disable_mention_notifications=(use_default_disable_mention_notifications : Bool) #

def use_default_disable_pinned_message_notifications : Bool #

def use_default_disable_pinned_message_notifications=(use_default_disable_pinned_message_notifications : Bool) #

def use_default_mute_for : Bool #

def use_default_mute_for=(use_default_mute_for : Bool) #

def use_default_show_preview : Bool #

def use_default_show_preview=(use_default_show_preview : Bool) #

def use_default_sound : Bool #

def use_default_sound=(use_default_sound : Bool) #