(user, bot, msg, m, sts, protect)
| 216 | # Ask Doubt on telegram @KingVJ01 |
| 217 | |
| 218 | async def forward(user, bot, msg, m, sts, protect): |
| 219 | try: |
| 220 | await bot.forward_messages( |
| 221 | chat_id=sts.get('TO'), |
| 222 | from_chat_id=sts.get('FROM'), |
| 223 | protect_content=protect, |
| 224 | message_ids=msg) |
| 225 | except FloodWait as e: |
| 226 | await edit(user, m, 'ᴘʀᴏɢʀᴇssɪɴɢ', e.value, sts) |
| 227 | await asyncio.sleep(e.value) |
| 228 | await edit(user, m, 'ᴘʀᴏɢʀᴇssɪɴɢ', 5, sts) |
| 229 | await forward(bot, msg, m, sts, protect) |
| 230 | |
| 231 | # Don't Remove Credit Tg - @VJ_Botz |
| 232 | # Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ |
no test coverage detected