Telegram::BusinessConnection
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: BusinessConnection Describes the connection of the bot with a business account.
Constructors
new(id : String, user : User, user_chat_id : Int64, date : Int64, is_enabled : Bool, rights : BusinessBotRights | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(id _id = @id, user _user = @user, user_chat_id _user_chat_id = @user_chat_id, date _date = @date, is_enabled _is_enabled = @is_enabled, rights _rights = @rights)
Sourcedate
id
is_enabled
rights
user
user_chat_id