The task was to parse users from a certain channel / chat, which would then be "invited" into your channel. Googled - I haven’t seen such a implementation in both Russian Internet and English-speaking resources. Telegram documentation did not help. ps It is preferable to use Python, but do not stop at other languages. Waiting for links, or share your achievements and / or examples of implementation.
- oneUnfortunately, this is not a freelance website, so you are expected to try to solve your question, which will be in question, so that the community will help :) And so, if you parse websites, use toolbars (on the page, right-click and select "Inspector" or something something like this) and viewing the page structure, after using: regular expressions (bad version), xpath-query / css-selectors or working with dom and pulling out the necessary data. If the site has api, then of course use api. - gil9red
- Some more sites use ajax-requests, which can be seen and repeated through those browser tools, such requests can return not html, but json or xml, which are easier to deal with. Good luck :) - gil9red
- official documentation did not help, exactly? - approximatenumber
- I think that this is impossible, the telegram assigns a unique id, using which communication with the user is possible. id is issued only when the user writes something to your bot - user193361
- Here Parsing groups in a telegram through a bot can also be suitable for a channel, 100% sure is not, but try - var_null
|