🧐 how does Telegram decide when to show the CHAT_TOO_BIG error?
#Telethon
#Pyrogram
ℹ️ @UniBorg
#Telethon
from telethon.tl.functions.help import GetAppConfigRequest as g
res = await client(g())
sre = (
next(
(
x for x in res.value if 'chat_read_mark_size_threshold' in x.key
)
)
).value.value
p(sre)
#Pyrogram
from pyrogram.raw.functions.help import GetAppConfig as g
client = userge
res = await client.send(g())
sre = (
next(
(
x for x in res.value if 'chat_read_mark_size_threshold' in x.key
)
)
).value.value
print(sre)
ℹ️ @UniBorg
leech / hoard (abuse @OpenFilesStats) services using @UniBorg
©️ @OpenFilesStats
oc = 0
from asyncio import sleep
async for ko in client.iter_messages(
message.chat_id,
limit=None,
reverse=True
):
await sleep(3)
oc = oc + 1
if ko and ko.file and ko.file.name.lower().endswith("torrent"):
statsmessage = await client.get_messages(
"OpenFilesStats",
ids=7
)
avco = [
f"/leech{oix}"
for oix in range(1, 8)
]
available_command = avco[-1]
if not statsmessage:
continue
messagestats = []
try:
messagestats = statsmessage.raw_text.split("\n")[2:9]
except IndexError:
return available_command
for stattocheck in messagestats:
rsats = stattocheck.split("|")
botusername = rsats[0].strip()
num_loads = int(rsats[1].strip().split(" ")[0].strip())
if num_loads <= 1:
await ko.reply(f"/leech{botusername}")
©️ @OpenFilesStats
What are String Sessions?: The string session contains your authentication details. Anybody with access to this string can access your entire Telegram Account and DWTFTW with it.
It is not recommended to share your credentials with any THIRD-PARTY Telegram Bots, or when creating user-bots.
The same applies to your APP_ID and API_HASH from my.telegram.org.
Both MyTelegramOrgRoBot and SessionMakerBot were written for fun, and YOU SHOULD N.E.V.E.R, send your Telgram Login Codes, to any THIRD PARTY Telegram Bots, hosted by random people on the Internet.
@UniBorg does NOT use StringSessions!
@UniBorg user-bot logs in to your account, similar to how you do using the official Telegram applications, the code does not use StringSessions, in any shape / form!
While deploying, all you need are four environment variables, and the code at https://GitHub.com/SpEcHiDe/UniBorg takes care of everything else!
because of this, even if any random person ask you to execute
ℹ️ @UniBorg
<Informational Post, due to a large number of script kiddies, trying to "hack" your Telegram Accounts, using UserBots>
It is not recommended to share your credentials with any THIRD-PARTY Telegram Bots, or when creating user-bots.
The same applies to your APP_ID and API_HASH from my.telegram.org.
Both MyTelegramOrgRoBot and SessionMakerBot were written for fun, and YOU SHOULD N.E.V.E.R, send your Telgram Login Codes, to any THIRD PARTY Telegram Bots, hosted by random people on the Internet.
@UniBorg does NOT use StringSessions!
@UniBorg user-bot logs in to your account, similar to how you do using the official Telegram applications, the code does not use StringSessions, in any shape / form!
While deploying, all you need are four environment variables, and the code at https://GitHub.com/SpEcHiDe/UniBorg takes care of everything else!
because of this, even if any random person ask you to execute
.eval print(Config.HU_STRING_SESSION)
, the attacker won't be able to do anything with the output, [this applies only to @UniBorg user-bot] ℹ️ @UniBorg
<Informational Post, due to a large number of script kiddies, trying to "hack" your Telegram Accounts, using UserBots>
bots = []
for e in reply.entities:
if isinstance(e, types.MessageEntityMention):
bots.append(
reply.raw_text[
e.offset:e.offset+e.length
]
)
await client(
functions.channels.InviteToChannelRequest(
message.chat_id,
bots[:-2]
)
)
[
await client.edit_admin(
message.chat_id,
xyz,
is_admin=True,
change_info=False,
title=str(
xyz.split("Bot")[0].split("_")[-1]
)
) for xyz in bots[:-2]
]
stream videos to your Chat / Channel voice_chat, without using FFMpeg commands ☺️
© @UniBorg
video_url = "a direct m3u8 video url"
await client(functions.phone.CreateGroupCallRequest(
peer=message.chat_id,
rtmp_stream=True,
title=''
))
c = await client(functions.phone.GetGroupCallStreamRtmpUrlRequest(
message.chat_id,
False
))
await client.send_message(
777494254,
f"/tgrtmpstream {video_url} {c.url}{c.key}"
)
© @UniBorg
one of the ways to know when your account was created is to know your contact syncing date.
a third way is to find out, the first service message of login code from Telegram.
ℹ️ @UniBorg
import itertools
import os
from telethon.tl import functions, types
y = "exported.json"
async with client.takeout(finalize=True) as takeout:
l = 4096
with open(y, "wb") as f:
for i in itertools.count():
# https://t.me/c/1692942937/405
data = await takeout(
functions.upload.GetFileRequest(
location=types.InputTakeoutFileLocation(),
offset=i * l,
limit=l,
precise=True,
cdn_supported=False
)
)
if not data.bytes:
break
f.write(data.bytes)
await message.reply(file=y)
os.remove(y)
a third way is to find out, the first service message of login code from Telegram.
ℹ️ @UniBorg
UniBorg
The creator @UserBotAdmin was Banned by @Telegram! 🤣🤣🏃♀🏃♀🏃♀
4 Years
of
UniBorg 👇 👇 👇Forwarded from Aliaksei Levin
> maybe somebody measured it experimentally ?
It looks like you did. The methods can be used to localize bot name and description, they cannot be used to add "clocks" to the bot's name.
It looks like you did. The methods can be used to localize bot name and description, they cannot be used to add "clocks" to the bot's name.
Forwarded from •ⱮའKrΐຮhήส•