MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / msg_edit

Function msg_edit

plugins/regix.py:235–243  ·  view source on GitHub ↗
(msg, text, button=None, wait=None)

Source from the content-addressed store, hash-verified

233# Ask Doubt on telegram @KingVJ01
234
235async def msg_edit(msg, text, button=None, wait=None):
236 try:
237 return await msg.edit(text, reply_markup=button)
238 except MessageNotModified:
239 pass
240 except FloodWait as e:
241 if wait:
242 await asyncio.sleep(e.value)
243 return await msg_edit(msg, text, button, wait)
244
245# Don't Remove Credit Tg - @VJ_Botz
246# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ

Callers 3

pub_Function · 0.85
editFunction · 0.85
restart_pending_forwadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected