class
Hamilton::Types::KeyboardButtonRequestManagedBot
- Hamilton::Types::KeyboardButtonRequestManagedBot
- Reference
- Object
Overview
This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/keyboard_button_request_managed_bot.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#request_id : Int32
Signed 32-bit identifier of the request.
-
#request_id=(request_id : Int32)
Signed 32-bit identifier of the request.
-
#suggested_name : String | Nil
Suggested name for the bot.
-
#suggested_name=(suggested_name : String | Nil)
Suggested name for the bot.
-
#suggested_username : String | Nil
Suggested username for the bot.
-
#suggested_username=(suggested_username : String | Nil)
Suggested username for 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 request_id : Int32
#
Signed 32-bit identifier of the request. Must be unique within the message.
def request_id=(request_id : Int32)
#
Signed 32-bit identifier of the request. Must be unique within the message.