class
   TD::Chat
 
  
  Included Modules
- JSON::Serializable
 
Defined in:
telegram/types/chat.crConstructors
- .new(id : Int64, type : TD::ChatType, title : String, photo : Union(TD::ChatPhotoInfo, Nil), permissions : TD::ChatPermissions, last_message : Union(TD::Message, Nil), positions : Array(TD::ChatPosition), message_sender_id : Union(TD::MessageSender, Nil), unread_count : Int32, last_read_inbox_message_id : Int64, last_read_outbox_message_id : Int64, unread_mention_count : Int32, notification_settings : TD::ChatNotificationSettings, message_ttl : Int32, theme_name : String, action_bar : Union(TD::ChatActionBar, Nil), video_chat : TD::VideoChat, pending_join_requests : Union(TD::ChatJoinRequestsInfo, Nil), reply_markup_message_id : Int64, draft_message : Union(TD::DraftMessage, Nil), client_data : String, has_protected_content : Bool = false, is_marked_as_unread : Bool = false, is_blocked : Bool = false, has_scheduled_messages : Bool = false, can_be_deleted_only_for_self : Bool = false, can_be_deleted_for_all_users : Bool = false, can_be_reported : Bool = false, default_disable_notification : Bool = false)
 - .new(pull : JSON::PullParser)
 - .new(__json : JSON::Any | Nil = nil)
 
Instance Method Summary
- #action_bar : TD::ChatActionBar?
 - #action_bar=(action_bar : TD::ChatActionBar | Nil)
 - #can_be_deleted_for_all_users : Bool
 - #can_be_deleted_for_all_users=(can_be_deleted_for_all_users : Bool)
 - #can_be_deleted_only_for_self : Bool
 - #can_be_deleted_only_for_self=(can_be_deleted_only_for_self : Bool)
 - #can_be_reported : Bool
 - #can_be_reported=(can_be_reported : Bool)
 - #client_data : String
 - #client_data=(client_data : String)
 - #default_disable_notification : Bool
 - #default_disable_notification=(default_disable_notification : Bool)
 - #draft_message : TD::DraftMessage?
 - #draft_message=(draft_message : Nil | TD::DraftMessage)
 - #has_protected_content : Bool
 - #has_protected_content=(has_protected_content : Bool)
 - #has_scheduled_messages : Bool
 - #has_scheduled_messages=(has_scheduled_messages : Bool)
 - #id : Int64
 - #id=(id : Int64)
 - #is_blocked : Bool
 - #is_blocked=(is_blocked : Bool)
 - #is_marked_as_unread : Bool
 - #is_marked_as_unread=(is_marked_as_unread : Bool)
 - #last_message : TD::Message?
 - #last_message=(last_message : Nil | TD::Message)
 - #last_read_inbox_message_id : Int64
 - #last_read_inbox_message_id=(last_read_inbox_message_id : Int64)
 - #last_read_outbox_message_id : Int64
 - #last_read_outbox_message_id=(last_read_outbox_message_id : Int64)
 - #message_sender_id : TD::MessageSender?
 - #message_sender_id=(message_sender_id : TD::MessageSender | Nil)
 - #message_ttl : Int32
 - #message_ttl=(message_ttl : Int32)
 - #notification_settings : TD::ChatNotificationSettings
 - #notification_settings=(notification_settings : TD::ChatNotificationSettings)
 - #object_type : String
 - #object_type=(object_type : String)
 - #pending_join_requests : TD::ChatJoinRequestsInfo?
 - #pending_join_requests=(pending_join_requests : Nil | TD::ChatJoinRequestsInfo)
 - #permissions : TD::ChatPermissions
 - #permissions=(permissions : TD::ChatPermissions)
 - #photo : TD::ChatPhotoInfo?
 - #photo=(photo : Nil | TD::ChatPhotoInfo)
 - #positions : Array(TD::ChatPosition)
 - #positions=(positions : Array(TD::ChatPosition))
 - #reply_markup_message_id : Int64
 - #reply_markup_message_id=(reply_markup_message_id : Int64)
 - #theme_name : String
 - #theme_name=(theme_name : String)
 - #title : String
 - #title=(title : String)
 - #type : TD::ChatType
 - #type=(type : TD::ChatType)
 - #unread_count : Int32
 - #unread_count=(unread_count : Int32)
 - #unread_mention_count : Int32
 - #unread_mention_count=(unread_mention_count : Int32)
 - #video_chat : TD::VideoChat
 - #video_chat=(video_chat : TD::VideoChat)
 
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(id : Int64, type : TD::ChatType, title : String, photo : Union(TD::ChatPhotoInfo, Nil), permissions : TD::ChatPermissions, last_message : Union(TD::Message, Nil), positions : Array(TD::ChatPosition), message_sender_id : Union(TD::MessageSender, Nil), unread_count : Int32, last_read_inbox_message_id : Int64, last_read_outbox_message_id : Int64, unread_mention_count : Int32, notification_settings : TD::ChatNotificationSettings, message_ttl : Int32, theme_name : String, action_bar : Union(TD::ChatActionBar, Nil), video_chat : TD::VideoChat, pending_join_requests : Union(TD::ChatJoinRequestsInfo, Nil), reply_markup_message_id : Int64, draft_message : Union(TD::DraftMessage, Nil), client_data : String, has_protected_content : Bool = false, is_marked_as_unread : Bool = false, is_blocked : Bool = false, has_scheduled_messages : Bool = false, can_be_deleted_only_for_self : Bool = false, can_be_deleted_for_all_users : Bool = false, can_be_reported : Bool = false, default_disable_notification : Bool = false)
        #