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

Function addthumbs

plugins/start_and_cb.py:140–143  ·  view source on GitHub ↗
(client, message)

Source from the content-addressed store, hash-verified

138
139@Client.on_message(filters.private & filters.photo)
140async def addthumbs(client, message):
141 rkn = await message.reply_text("__**ᴘʟᴇᴀsᴇ ᴡᴀɪᴛ**__")
142 await digital_botz.set_thumbnail(message.from_user.id, file_id=message.photo.file_id)
143 await rkn.edit("✅️ __**Tʜᴜᴍʙɴᴀɪʟ Sᴀᴠᴇᴅ**__")
144
145@Client.on_message(filters.private & filters.command("myplan"))
146async def myplan(client, message):

Callers

nothing calls this directly

Calls 1

set_thumbnailMethod · 0.80

Tested by

no test coverage detected