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

Telethon is free software. That means using it is a right: you are free to use it for absolutely any purpose whatsoever. However, help and support with using it is a privilege. If you misbehave or want to do bad things, despite possibly having good intentions, nobody is obligated to help you.

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

Telethon Chat

how to send contact, location and other things from inline query

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

Telethon Chat

server doesn't support uselessness, you get every vote of a poll you sent, you store and count them yourself, votes can get spammy, a message object in each is a waste

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

Telethon Chat

it is useless. assign every poll_id to a chat, msg_id beforehand once sent, only fetch the message for closing using get_messages(chat, ids=msg_id)

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

Telethon Chat

/channel/TelethonChat/601146

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

Telethon Chat

How do I install the latest version

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

Telethon Chat

Will the speed increase if pass the received_updates=False ?
Bcs i want just connect to client and check client status (banned or healthy )

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

Telethon Chat

how to reply message and quote part of it

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

Telethon Chat

@iHimX you was asking for this

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

Telethon Chat

print("hello world")

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

Telethon Chat

it is clear like this question

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

Telethon Chat

i think but idk try GetParticipantRequest

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

Telethon Chat

thanks a lot, I will try to do it

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

Telethon Chat

instead of using .to_json() use .to_dict()

then you can reverse the object

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

Telethon Chat

but since it json.dumps the data, maybe not work idk 🤔 eval?

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

Telethon Chat

Hello everyone, has anyone done an emulation of account registration based on the telethon library?

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

Telethon Chat

where can i find the api page that contains all the article builder types for inline query? for example we have article, photo, video, etc. where can i find the full list?

ive only found article and photo here, couldnt find anything else anywhere on the docs:
https://docs.telethon.dev/en/stable/modules/events.html#telethon.events.common.EventBuilder

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

Telethon Chat

Is there no other way to do this so that after the user selects each option, an update is returned and the complete message can be received?

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

Telethon Chat

UpdateMessagePollVote(
poll_id=5922510866095277005,
peer=PeerUser(
user_id=5985708937
),
options=[
b'1',
],
qts=0
)


How can I get the entire message with this update? Can I use get_messages()?

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

Telethon Chat

/channel/TelethonChat/540527

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

Telethon Chat

How can I find out the number of participants in the survey after each option is selected by users, and how do I end the survey?

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

Telethon Chat

In official telegram apps we can't mute private chats & bots separately, both of them are in one private chats category? Is it server side problem?

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

Telethon Chat

hey bro i have question if you are free

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

Telethon Chat

Executed Code 👑

await event.reply('[print("hello world")](pre:javascript)')

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

Telethon Chat

/channel/TelethonChat/547556

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

Telethon Chat

Hello, how does the bot initiate a chat with a user, when the user makes a join request to a group?

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

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

Guys I have Id and access hash of users but I couldn't add them to my channel!!

What should I do?

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

Telethon Chat

there's no builtin reverse operation, because some things like dates lose the original type

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

Telethon Chat

maybe this could work:


tlJson = {}

for subclass in TLObject.__subclasses__():
if subclass.__class__.__name__ == tlJson['_']:
kwargs = tlJson
kwargs.pop('_', None)
foundObject = subclass(**kwargs)

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