class Turquoise::Jobs::Unsubscribe

Defined in:

turquoise/jobs/unsubscribe.cr

Constant Summary

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

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

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

def self.new #

Class Method Detail

def self.job_name #

[View source]

Macro Detail

macro param(parameter) #

[View source]

Instance Method Detail

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 perform #
Description copied from class Mosquito::Job

abstract, override in a Job descendant to do something productive


[View source]
def reply(text) #

[View source]
def topic : String #

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

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

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