add image hash field
This commit is contained in:
@@ -151,6 +151,7 @@ class QueuedItem(models.Model):
|
||||
type = models.CharField(max_length=12)
|
||||
args = models.TextField()
|
||||
message_id = models.PositiveBigIntegerField(default=None, db_index=True, null=True, blank=True)
|
||||
image_hash = models.CharField(max_length=64, null=True, blank=True)
|
||||
|
||||
def send(self, bot: Bot):
|
||||
getattr(bot, 'send_' + self.type)(self.config.chat_id, *json.loads(self.args))
|
||||
|
Reference in New Issue
Block a user