I want to get a message’s views but I don’t know which method should I use.
Here is the telegram API. I have the channel ID and the message_id,(I got them from my telegram bot). I know that telegram bot API doesn’t have access to views so I want to use the main telegram API but I don’t know which method should I use.
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
you can follow this steps:
example: https://t.me/tehrandb/93
tgme_widget_message_views
classby python and telethon you can access to a certain message
and that message object have an attribute ‘view’:
m.views
will return a specific message viewsfull information of a message object in telegram.