class
Hamilton::Types::BusinessConnection
- Hamilton::Types::BusinessConnection
- Reference
- Object
Overview
Describes the connection of the bot with a business account.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/business_connection.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#date : Int32
Date the connection was established in Unix time.
-
#date=(date : Int32)
Date the connection was established in Unix time.
-
#id : String
Unique identifier of the business connection.
-
#id=(id : String)
Unique identifier of the business connection.
-
#is_enabled : Bool
True, if the connection is active.
-
#is_enabled=(is_enabled : Bool)
True, if the connection is active.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#rights : Hamilton::Types::BusinessBotRights
Rights of the business bot.
-
#rights=(rights : Hamilton::Types::BusinessBotRights)
Rights of the business bot.
-
#user : Hamilton::Types::User
Business account user that created the business connection.
-
#user=(user : Hamilton::Types::User)
Business account user that created the business connection.
-
#user_chat_id : Int64
Identifier of a private chat with the user who created the business connection.
-
#user_chat_id=(user_chat_id : Int64)
Identifier of a private chat with the user who created the business connection.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Business account user that created the business connection.
Identifier of a private chat with the user who created the business connection.
Identifier of a private chat with the user who created the business connection.