Ultroid v0.4.1

This commit is contained in:
Devesh Pal
2022-02-10 16:28:53 +05:30
parent 138ee1882a
commit 70a3a11b89
18 changed files with 251 additions and 226 deletions

View File

@@ -51,6 +51,7 @@ from telethon.errors.rpcerrorlist import ChatNotModifiedError, UserIdInvalidErro
from telethon.tl.functions.channels import GetFullChannelRequest
from telethon.tl.functions.messages import GetFullChatRequest, SetHistoryTTLRequest
from telethon.tl.types import InputMessagesFilterPinned
from telethon.utils import get_display_name
from . import (
HNDLR,
@@ -442,7 +443,7 @@ async def djshsh(event):
async def get_all_pinned(event):
x = await event.eor(get_string("com_1"))
chat_id = (str(event.chat_id)).replace("-100", "")
chat_name = (await event.get_chat()).title
chat_name = get_display_name(event.chat)
a = ""
c = 1
async for i in event.client.iter_messages(