Skip to content

struct Tourmaline::Handlers::CommandHandler::Context
inherits Struct #

Constructors#

.new(update : Update, context : Middleware::Context, message : Message, command : String, text : String, raw_text : String, botname : Bool, edit : Bool) #

View source

Methods#

#botname : Bool #

#clone #

View source

#command : String #

#context : Middleware::Context #

#copy_with(update _update = @update, context _context = @context, message _message = @message, command _command = @command, text _text = @text, raw_text _raw_text = @raw_text, botname _botname = @botname, edit _edit = @edit) #

View source

#edit : Bool #

#message : Message #

#raw_text : String #

#text : String #

#update : Update #