Home > Article > Backend Development > Is it possible to get group messaging using telegram API without using bots?
php Xiaobian Yuzai, are you wondering if you can use the Telegram API to get group message chats without using a bot? The answer is yes. Telegram API provides a variety of methods that allow developers to directly obtain group chat messages. By using the Telegram API's getChat method, you can get the details of a specific group chat, including the member list and message history. In addition, you can also use the getUpdates method to get the latest group chat messages. Therefore, you can easily get messages from Telegram group chats without using a bot.
I have a question about telegram API.
I have read the documentation at core.telegram.org.
As far as I understand, most APIs are about bots to manage group channels or post messages. But my use case is to use the API to get messages from any chat of a user authenticated using my application, reply to the chat with the user account as shown below. Can it be done using telegram API? Thanks.
No, there is no way to retrieve message data directly from a group chat using the Telegram API without using a bot.
The Telegram API requires authentication and uses a bot token to access chat messages and perform actions on behalf of the bot. Bots are specifically designed to interact with users and groups, allowing developers to create automated services and applications within the Telegram platform.
The above is the detailed content of Is it possible to get group messaging using telegram API without using bots?. For more information, please follow other related articles on the PHP Chinese website!