class
Hamilton::Types::ManagedBotUpdated
- Hamilton::Types::ManagedBotUpdated
- Reference
- Object
Overview
This object contains information about the creation, token update, or owner update of a bot that is managed by the current bot.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/managed_bot_updated.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#bot : Hamilton::Types::User
Information about the bot.
-
#bot=(bot : Hamilton::Types::User)
Information about the bot.
-
#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.
-
#user : Hamilton::Types::User
User that created the bot.
-
#user=(user : Hamilton::Types::User)
User that created the bot.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def bot : Hamilton::Types::User
#
Information about the bot. The bot's token can be fetched using the method getManagedBotToken.
def bot=(bot : Hamilton::Types::User)
#
Information about the bot. The bot's token can be fetched using the method getManagedBotToken.