Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/vasusen-code/SaveRestrictedContentBot
/ thumbnail
Function
thumbnail
main/plugins/pyroplug.py:17–21 ·
view source on GitHub ↗
(sender)
Source
from the content-addressed store, hash-verified
15
from
telethon
import
events
16
17
def
thumbnail(sender):
18
if
os.path.exists(f
'{sender}.jpg'
):
19
return
f
'{sender}.jpg'
20
else
:
21
return
None
22
23
async
def
get_msg(userbot, client, bot, sender, edit_id, msg_link, i):
24
Callers
1
get_msg
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected