Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting telegram messages from supergroup #2823

Closed
gorefieend opened this issue Mar 21, 2024 · 4 comments
Closed

getting telegram messages from supergroup #2823

gorefieend opened this issue Mar 21, 2024 · 4 comments

Comments

@gorefieend
Copy link

hello, what is the fastest possible way to get message from specific telegram supergroup? i know there are 3 way how to get a message: server push, polling and long polling.... is it ok so use all 3 methods at the same time?

also... what would you recommend me to do, if i wanna get the supergroup message as fast as user-bot as possible? :) thanks!

@levlam
Copy link
Contributor

levlam commented Mar 21, 2024

There is no way to get messages "as fast as possible" from supergroups. The account can be banned for misusing Telegram API.

@gorefieend
Copy link
Author

everywhere is the "fastest way". that is why i need i need it "as fast as POSSIBLE = mean without getting banned

i know there are 3 way how to get a message: server push, polling and long polling.... is it ok so use all 3 methods at the same time?

@levlam
Copy link
Contributor

levlam commented Mar 21, 2024

There is no such thing as "polling and long polling" in Telegram apps regarding message fetching.

@gorefieend
Copy link
Author

i mean using methods to get messages in user-bot with API...

polling (asking for updates in a certain time window) and long polling (0ms poll) and server push are real methods how to get messages from telegram with user-bot and API

@levlam levlam closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants