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
Always try to email Telegram after getting banned, and never appoint to get help
But there's a beauty in chances, and you likely wanna try...
I tried either, and Idk did that cause one of my accounts to get unbanned and recovery or what else, but it worked anyway.
depends on which location the gift is currently, and what you're willing to do with it
Читать полностью…This is probably an old problem.
entities = self._mb_entity_cache.get_all_entities()
Returns an array of objects without the name, username attributes, then the username, name fields were reset in the orm::process_entities method. So far, I have improved the process_entities method and added verification of the transmitted data.
Hello every one
I continue debug problem with set NULL for attribute username, phone, name
I'm forked repository:
https://github.com/tulir/telethon-session-sqlalchemy
Debug method (parent telethon memory.py):
def _entity_values_to_row(self, id: int, hash: int, username: str, phone: str, name: str
) -> Any:
print(f"ORM:: _ENTITY_VALUES_TO_ROW. ID: {id}, HASH: {hash}, USERNAME: {username}, PHONE: {phone}, NAME: {name}")
return self.Entity(session_id=self.session_id, id=id, hash=hash, username=username, phone=phone, name=name)
ORM:: _ENTITY_VALUES_TO_ROW. ID: -1001634932777, HASH: 8240622244700762656, USERNAME: None, PHONE: None, NAME: <some name>
ORM:: _ENTITY_VALUES_TO_ROW. ID: -1002218550381, HASH: -6230714375329686792, USERNAME: None, PHONE: None, NAME: <some name>
ORM:: _ENTITY_VALUES_TO_ROW. ID: 136817688, HASH: 5289202305167059743, USERNAME: <some username>, PHONE: None, NAME: <some name>
ORM:: _ENTITY_VALUES_TO_ROW. ID: 5847030718, HASH: -6765206636774223826, USERNAME: <some username>, PHONE: <some phone>, NAME: <some name>
ORM:: _ENTITY_VALUES_TO_ROW. ID: -1001634932777, HASH: 8240622244700762656, USERNAME: None, PHONE: None, NAME: None
ORM:: _ENTITY_VALUES_TO_ROW. ID: -1002218550381, HASH: -6230714375329686792, USERNAME: None, PHONE: None, NAME: None
ORM:: _ENTITY_VALUES_TO_ROW. ID: 5847030718, HASH: -6765206636774223826, USERNAME: None, PHONE: None, NAME: None
ORM:: _ENTITY_VALUES_TO_ROW. ID: 136817688, HASH: 5289202305167059743, USERNAME: None, PHONE: None, NAME: None
Recently I got hit by FLOOD_WAIT_3. Everytime it's 3-4 seconds.
I am using getChannelDifference from many months, it was working fine without flood waits in past and now it suddenly giving flood waits after certain requests(I have already done my calculations through which I don't get that flood wait). I know I should wait for the specified time which I have already implemented. but do anyone have any other work arounds to not thrown by flood waits while using that end point even after sending more ?
Has telethon been updated with the new reports implemented by telegram?
Читать полностью…Let's say I have 30k stars in my account, now I want to donate 1k stars and a 3-month premium subscription to another person! How do I do this? If possible, please send the document link from the Telegram site because I work with PHP but I didn't find anything on the Telegram site...
Читать полностью…specify harder which one you want. premium purchase hasn't changed /channel/TelethonChat/567661, stars purchase is close /channel/TelethonChat/656059
Читать полностью…I am getting UsernameInvalidError with these usernames:
@vXq27LwPnJkFt
@bFw27JxVtKpLn
@tFw27LpKvXnJq
However, other usernames that were generated the same way are good and were successfully set. I am trying to understaned how to create 100% correct username
Hello guys. How can I get my profile gifts? Please help me
Читать полностью…Well it could cause that actually...
Np did nothing lol
Oh okay, I was running the program on several accounts so I wonder why only that one got deleted. Thanks
Читать полностью…It is a bug then, open an issue or pr the improvement
it technically now overrides extra details other than id and access_hash for entities it receives as events, where they get added to message box memory cache, which doesn't store full objects
this happens every 60 seconds too not only in disconnect(), because of that, storing full objects until disconnection or for 60 seconds isn't ideal, maybe improving the _mb_entity_cache to include the extra details too and not use _as_input_peer
but it can cause sync issues since manual method response entities are stored right away unlike event ones, but not that important
Yes
._.If you meant friendly and without using TelegramClient.__call__
and raw requests, no.
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.
Ask in a php MTProto library chat.
star to star sending is done by emoji gifts only. using InputInvoiceStarGift() with /channel/TelethonChat/645846
star to premium subscription gift is same as above. but with InputInvoicePremiumGiftStars() being inputInvoice object to use. it is unreleased and in master version only.
first time i knew this i thought it's not possible
Читать полностью…Hello Is it possible to send and buy Stars or Premium on Telegram with the API? If yes, what library or API is defined for that?
Читать полностью…I need dating site sources or movie streaming site source , worpress or react node application
Читать полностью…I tried,
msg = await event.get_message()
await bot.edit_message(event.chat.id, message=msg.id, text=msg.text + "12", buttons=msg.reply_markup
It gave me same error