Imagine I have made a poll using @vote bot. How can I publish it to a list of chatIDs I have in Telethon? 😵
Try searching for "bot" on the documentation. I found these results:
I would say those work. If they do please close the issue and you may want to post the solution here so other people can find it too :)
Actually, I had read both pages before opening the issue, but couldn't figure out the arguments. random_id!? offset!? No idea what to pass to the function!
random_id is clearly a random ID (!), and offset is probably the offset of the results. So, try passing offset=0, since you don't want to skip any.
Thanks @Lonami. Yeah random_id seems to be self-explaining, but why the hell do we have to pass a random number!? Couldn't they make a random number server-side, which looks to be a better approach!?
why the hell do we have to pass a random number!?
¯\_(ツ)_/¯
Couldn't they make a random number server-side, which looks to be a better approach!?
I don't know why they did it the way the did. Perhaps it's so people can't spam by resending certain packets without modifying the random ID (which would first involve decoding the packet).
Most helpful comment
¯\_(ツ)_/¯
I don't know why they did it the way the did. Perhaps it's so people can't spam by resending certain packets without modifying the random ID (which would first involve decoding the packet).