it's a timestamp. not duration
and error driven development is wrong. the core list is incomplete too, you should just make it perfect to not error, if it did, you'll find out on time and fix specific ones
and telethon intentionally doesn't sync errors, so newer errors and their corresponding raising method names since media spoilers won't be listed
I have code to retrieve the last 100 messages in a group and return them As telethon.tl.types.User Anyway when I print the account information it has different numbers of Users in each account what is the reason for that?
Читать полностью…I was able to find out all the limits using await client(functions.help.GetAppConfigRequest(0))
Читать полностью…depends on lonami but pulls may be made to errors.csv and methods.csv here: https://github.com/LonamiWebs/Telethon/tree/v1/telethon_generator/data
Читать полностью…Yes, I thought about that too, but it’s unlikely to be milliseconds, because it’s about 20 days
Perhaps this is some kind of personal extermination
It says here that this is a weekly limit, on another device I have a different language of the Telegram application and it says “month”, it’s funny
Читать полностью…https://tl.telethon.dev/methods/stories/send_story.html
Known RPC errors
This request can't cause any RPC error as far as we know.
telethon.errors.rpcerrorlist.PremiumAccountRequiredError: A premium account is required to execute this action (caused by SendStoryRequest)
you can use GetFullChannelRequest function.
from this result you have to check below parameters.
channel.chats[0].join_to_send and channel.chats[0].join_request
Ey, how can I check if I can send messages to a group ID without actually trying and catching a test message?
Читать полностью…Here is a complete list of errors that may occur, taken here: https://core.telegram.org/method/stories.sendStory
Читать полностью…Okay, I just wanted to help and let you know that the documentation says there can't be errors, but in reality they can
Читать полностью…That is not related to Telethon. Please move to a different group with the correct topic to continue that conversation
Читать полностью…Bro, I’m just translating the application language into different languages for the sake of experimentation, it’s the same account, but the text is different
Читать полностью…This is a screenshot from a Russian application translated into English, it's really funny
Читать полностью…I think those numbers are related to a timestamp which is related to limit time ( The time when limits will omit )
Читать полностью…Just for fun, I now exceeded the limit, and got the following:
telethon.errors.rpcbaseerrors.FloodError: RPCError 420: STORY_SEND_FLOOD_WEEKLY_1726958336 (caused by SendStoryRequest)
Why always print false?
client(functions.stories.IncrementStoryViewsRequest(
user_id=@test,
id=[2]
))