class
TD::ChatFilter
- TD::ChatFilter
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/chat_filter.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #exclude_archived : Bool
- #exclude_archived=(exclude_archived : Bool)
- #exclude_muted : Bool
- #exclude_muted=(exclude_muted : Bool)
- #exclude_read : Bool
- #exclude_read=(exclude_read : Bool)
- #excluded_chat_ids : Array(Int64)
- #excluded_chat_ids=(excluded_chat_ids : Array(Int64))
- #icon_name : String
- #icon_name=(icon_name : String)
- #include_bots : Bool
- #include_bots=(include_bots : Bool)
- #include_channels : Bool
- #include_channels=(include_channels : Bool)
- #include_contacts : Bool
- #include_contacts=(include_contacts : Bool)
- #include_groups : Bool
- #include_groups=(include_groups : Bool)
- #include_non_contacts : Bool
- #include_non_contacts=(include_non_contacts : Bool)
- #included_chat_ids : Array(Int64)
- #included_chat_ids=(included_chat_ids : Array(Int64))
- #object_type : String
- #object_type=(object_type : String)
- #pinned_chat_ids : Array(Int64)
- #pinned_chat_ids=(pinned_chat_ids : Array(Int64))
- #title : String
- #title=(title : String)
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)
#