telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6097

Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates

Subscribe to a channel

Telethon Chat

You may be able message me anytime

Читать полностью…

Telethon Chat

out of hundreds of messages everyday who's gon pay attention to that specific one

Читать полностью…

Telethon Chat

they cant read finglish 😂

Читать полностью…

Telethon Chat

I'm fine come to my pv habibi

Читать полностью…

Telethon Chat

You have inputted invalid api id or api hash or both
You may check validity from my.telegram.org

Читать полностью…

Telethon Chat

this issue is comming

Читать полностью…

Telethon Chat

You can remove lambda and set it equally to MessageEntityBlockquote like /channel/TelethonChat/639792

Читать полностью…

Telethon Chat

I was thinking what have he meant from that sentence around a half of a o'clock

Читать полностью…

Telethon Chat

it worked but i still ran into the same problem as setting it to false

Читать полностью…

Telethon Chat

from telethon.extensions.markdown import DEFAULT_DELIMITERS
from telethon.tl.types import MessageEntityBlockquote

DEFAULT_DELIMITERS['%%'] = lambda *a, **k: MessageEntityBlockquote(*a, **k, collapsed=True)

how can i make this not collapse the quote without setting it to False? i dont know how to remove the collapsing behaviour, i want my text to be quoted when its in %% but i dont want it to be collapsed.

Читать полностью…

Telethon Chat

How can I handle the updates that come when removing a user from the channel?

Читать полностью…

Telethon Chat

I need to use some conversation , but the input could be a simple message involving the user id either a RequestedPeer , And yeah I wanna know that can I handle them with conv.wait_send or I may use conv.wait_event(events.Raw(UpdateNewMessage)) instead.

Читать полностью…

Telethon Chat

It does, until telegram does not send you automatic UpdateNewChannelMessage anymore

you can't know you're not getting them unless you do, knowing it moves out of scope of library, it's too specific problem

Читать полностью…

Telethon Chat

Does events.NewMessage not imply all types of UpdateNewMessage ?

Читать полностью…

Telethon Chat

Are these limits more or less known or not?

Читать полностью…

Telethon Chat

I've saved you on my contacts list if you've been recognised as a spammer

Читать полностью…

Telethon Chat

Arabians could actually

Читать полностью…

Telethon Chat

They'll likely think you're a dumb or an Arabian

Читать полностью…

Telethon Chat

thats not really the problem, its kinda complicated, alan miam pv tozihesh midam age mayel be komak hastin

Читать полностью…

Telethon Chat

U need to create id/hash pair on telegram.org

Читать полностью…

Telethon Chat

What have you not understood?

Читать полностью…

Telethon Chat

The api_id/api_hash combination is invalid (caused by SendCodeRequest) can anyone help with this ?

Читать полностью…

Telethon Chat

What to set as false? You don't need to define collapse=False parameter anymore

Читать полностью…

Telethon Chat

from telethon.tl.types import MessageEntityBlockquote
from telethon.extensions.markdown import DEFAULT_DELIMITERS

DEFAULT_DELIMITERS["%%"] = MessageEntityBlockquote

Читать полностью…

Telethon Chat

The api_id/api_hash combination is invalid (caused by SendCodeRequest)

Читать полностью…

Telethon Chat

I implemented catch_up in another function as you told me, thank you. The delay should be significantly better now, but I hope it doesn't block my telegram. Do you have any suggestions on polling delay?

Читать полностью…

Telethon Chat

@client.on(events.Raw(UpdateNewMessage))
async def handler(event):
if event.message.action and isinstance(event.message,MessageService) and isinstance(event.message.action,MessageActionRequestedPeerSentMe):
logger.info(event.message.action.peers[0].user_id)

So why I can handle requested peers like this with Raw UpdateNewMessage and I cannot handle same events with same conditions by events.NewMessage?

Читать полностью…

Telethon Chat

ok, then I'll try with catch_up. It's this right?

Читать полностью…

Telethon Chat

a user using a Telegram app isn't expected to load certain messages repeatedly, if you want to estimate the limitations, it's what a usual user would need

a usual user wouldn't open a chat every second for a day, unless they're retarded, so exact numbers don't matter, Telegram has ati-retard ai systems or something that knows abuse, it's mostly pointless to do numbers with them.

your other better option is GetChannelDifference which is what the library uses to fetch new messages blabala I've explained it a lot so search the chat.

but it's better to not rush, start with catch_up thing (which uses that) and the patch first.

Читать полностью…

Telethon Chat

iter_messages has restrictive limits over extended periods and repeated calls

Читать полностью…
Subscribe to a channel