class TD::ChatFilter

Included Modules

Defined in:

telegram/types/chat_filter.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(title : String, icon_name : String, pinned_chat_ids : Array(Int64), included_chat_ids : Array(Int64), excluded_chat_ids : Array(Int64), exclude_muted : Bool = false, exclude_read : Bool = false, exclude_archived : Bool = false, include_contacts : Bool = false, include_non_contacts : Bool = false, include_bots : Bool = false, include_groups : Bool = false, include_channels : 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 exclude_archived : Bool #

def exclude_archived=(exclude_archived : Bool) #

def exclude_muted : Bool #

def exclude_muted=(exclude_muted : Bool) #

def exclude_read : Bool #

def exclude_read=(exclude_read : Bool) #

def excluded_chat_ids : Array(Int64) #

def excluded_chat_ids=(excluded_chat_ids : Array(Int64)) #

def icon_name : String #

def icon_name=(icon_name : String) #

def include_bots : Bool #

def include_bots=(include_bots : Bool) #

def include_channels : Bool #

def include_channels=(include_channels : Bool) #

def include_contacts : Bool #

def include_contacts=(include_contacts : Bool) #

def include_groups : Bool #

def include_groups=(include_groups : Bool) #

def include_non_contacts : Bool #

def include_non_contacts=(include_non_contacts : Bool) #

def included_chat_ids : Array(Int64) #

def included_chat_ids=(included_chat_ids : Array(Int64)) #

def object_type : String #

def object_type=(object_type : String) #

def pinned_chat_ids : Array(Int64) #

def pinned_chat_ids=(pinned_chat_ids : Array(Int64)) #

def title : String #

def title=(title : String) #