class Turquoise::Jobs::SendChatEloquence

Included Modules

Extended Modules

Defined in:

turquoise/jobs/send_chat_eloquence.cr

Constant Summary

PARAMETERS = [{name: chat_id, value: , type: Int64, method_suffix: int64}, {name: text, value: , type: String, method_suffix: string}, {name: message_id, value: , type: Int64, method_suffix: int64}] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(chat_id : Int64, text : String, message_id : Int64) #

def self.new #

Class Method Detail

def self.job_name #

[View source]

Macro Detail

macro param(parameter) #

[View source]

Instance Method Detail

def after_hook #

def before_hook #

def build_job_run #

def chat_id : Int64 #

[View source]
def chat_id=(value : Int64) : Int64 #

[View source]
def chat_id? : Int64 | Nil #

[View source]
def message_id : Int64 #

[View source]
def message_id=(value : Int64) : Int64 #

[View source]
def message_id? : Int64 | Nil #

[View source]
def message_id_or_nil : Int64 | Nil #

[View source]
def perform #
Description copied from class Mosquito::Job

abstract, override in a Job descendant to do something productive


[View source]
def reschedule_interval(retry_count) #

[View source]
def text : String #

[View source]
def text=(value : String) : String #

[View source]
def text? : String | Nil #

[View source]
def vars_from(config : Hash(String, String)) #