telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6095

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

opentele

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

Telethon Chat

The people are kind. Sorry that it's not really on the topic of Telethon. If someone has worked with opentele, please help us figure out how to convert tdata to client. I can't do anything for the second day (((

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

Telethon Chat

doest Message.pin() also work ? IDE doesn't highlight this as existing method but in docs there is said it is a shorthand for the method

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

Telethon Chat

Documentation for pin_message

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

Telethon Chat

what does your complaining have to do with telethon

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

Telethon Chat

durov: treat me like slave but give me money

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

Telethon Chat

i forgot that website show errors😂

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

Telethon Chat

Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon, since most problems have already been fixed in newer versions.

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

Telethon Chat

What is the basic idea of the game?

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

Telethon Chat

What do you want to use?

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

Telethon Chat

Help me in to make db

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

Telethon Chat

^exec py
members = ['disk' ,'nick' 'aayco', 'calfy']
new_members = ['nefis', 'tony']
for member in new_members:
members.append(member)
print(members)

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

Telethon Chat

you can see the docs of asyncio.wait()

tasks = [
asyncio.create_task(conv.get_response(...)),
asyncio.create_task(conv.wait_event(...))
]

done, _ = await asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)

event = done.pop().result()

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

Telethon Chat

sorry, but i stop using my own fsm in telethon as i have to write much more than usual

the conversation api is great, can you tell me how i use 2 events to wait at a time?

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

Telethon Chat

but your conversation api is pretty much good but i cant understand how to use 2 events to wait at a time

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

Telethon Chat

it doesn't have docs?

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

Telethon Chat

it will, and hints aren't done fully in telethon to TLObjects, explicitly hint it /channel/TelethonChat/547805

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

Telethon Chat

I wonder why google doesnt suggest this method

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

Telethon Chat

How to pin message in supergroup ?

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

Telethon Chat

Theyre loyal to their rules when they’re not at hurt otherwise youll see how fast they change their behavior. (E.g: eu laws and durov)

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

Telethon Chat

No, Durov is MoneySlave

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

Telethon Chat

See Errors

https://tl.telethon.dev/methods/messages/edit_message.html

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

Telethon Chat

use json module in python bro

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

Telethon Chat

Thinking to making a game bot
For that j need db

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

Telethon Chat

read mysql or sql3 docs

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

Telethon Chat

Executed Code 📱

members = ['disk' ,'nick' 'aayco', 'calfy']
new_members = ['nefis', 'tony']
for member in new_members:
members.append(member)
print(members)

💙Output:
['disk', 'nickaayco', 'calfy', 'nefis', 'tony']

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

Telethon Chat

why i hear no response from bot upon sending correct capital

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

Telethon Chat

like i ask a question in a bot with inline markup

now there will be 2 possibilities, 1 is click the button or press cancel keyboard button

i can wait for only 1 now using wait_event

cant use 2 NewMessage & CallbackQuery

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

Telethon Chat

the conditions become your state in a way

there is also raise events.StopPropagation inside a handler. that will stop the event from triggering further handlers of same event type

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

Telethon Chat

this will be a extra for my code, as i already use a state fsm then why need for extra func and return conditions

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