class Turquoise::Jobs::SendChatCompletion
- Turquoise::Jobs::SendChatCompletion
- Mosquito::QueuedJob
- Mosquito::Job
- Reference
- Object
Included Modules
- Mosquito::RateLimiter
Extended Modules
- Mosquito::RateLimiter::ClassMethods
Defined in:
turquoise/jobs/send_chat_completion.crConstant 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}, {name: from_name, value: "", type: String, method_suffix: string}] of Nil
Constructors
Class Method Summary
Macro Summary
Instance Method Summary
-
#act_as_group
Add more information when in group chats
- #after_hook
- #before_hook
- #build_job_run
- #chat_id : Int64
- #chat_id=(value : Int64) : Int64
- #chat_id? : Int64 | Nil
- #from_name : String
- #from_name=(value : String) : String
- #from_name? : String | Nil
- #message_id : Int64
- #message_id=(value : Int64) : Int64
- #message_id? : Int64 | Nil
-
#perform
abstract, override in a Job descendant to do something productive
- #reschedule_interval(retry_count)
- #text : String
- #text=(value : String) : String
- #text? : String | Nil
- #vars_from(config : Hash(String, String))
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
def perform
#
Description copied from class Mosquito::Job
abstract, override in a Job descendant to do something productive