struct Tourmaline::Handlers::PhotoHandler::Context

Overview

Handlers with an annotation also need a Context object. This can be a class, struct, or an alias to another type. All that matters is that it exists.

Defined in:

pimspiratie_bot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(update : Update, message : Message, photos : Array(PhotoSize)) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(update _update = @update, message _message = @message, photos _photos = @photos) #

[View source]
def message : Message #

def photos : Array(PhotoSize) #

def update : Update #