MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / set_caption

Method set_caption

helper/database.py:65–66  ·  view source on GitHub ↗
(self, id, caption)

Source from the content-addressed store, hash-verified

63 return user.get('file_id', None)
64
65 async def set_caption(self, id, caption):
66 await self.col.update_one({'_id': int(id)}, {'$set': {'caption': caption}})
67
68 async def get_caption(self, id):
69 user = await self.col.find_one({'_id': int(id)})

Callers 2

add_captionFunction · 0.80
delete_captionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected