class Hamilton::Types::KeyboardButtonRequestManagedBot

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

Defined in:

types/keyboard_button_request_managed_bot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


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.


def suggested_name : String | Nil #

Suggested name for the bot.


def suggested_name=(suggested_name : String | Nil) #

Suggested name for the bot.


def suggested_username : String | Nil #

Suggested username for the bot.


def suggested_username=(suggested_username : String | Nil) #

Suggested username for the bot.