I have a telegram bot that I send messages to via Python. I would like another user to be able to see these messages as well. Can't seem to figure out how to do it, nor what to do?
I read all the telegram documentation and didn't find any subject related to fix message on the channel.
Has anyone done something like that?
Ref.: https://core.telegram.org/bots/api#sendmessage
Thanks
A web service that contains all the methods for processing data is stored by Azure. In this case, only my telegram can process this data. Other applications are not allowed. But there is a possibility of expanding the service.
How do I know that the service is used by my telegram bot?
How to authenticate the application.
Well, I tried to use OAuth2.0, but i think it is not correct, because user is already authentificated with telegram, when he use telegram bot. My idea was to send a link to google auththentification in the beginning of bot job. By th way, ok, we know user`s data. May be I can check: Id, login etc. But some hacker can substitute this id
How can I make sure that Webhook requests are coming from Telegram? If
you‘d like to make sure that the Webhook request comes from Telegram,
we recommend using a secret path in the URL you give us, e.g.
www.example.com/your_token. Since nobody else knows your bot’s token,
you can be pretty sure it's us.
Telegram Bot FAQ
I build bot telegram.
Is possible to work/call/use bot in php ? Not build it. I want use bot.
i want use bot without telegram app.
is it possible?
Yes, you download php bot source on hosting and using via browser string.
Must have:
Bot token
SSL certificate
In Telegram API documentation i found a method auth.sendSms, but I'm not sure this is exactly what we need. Prompt, how to send to myself SMS via Telegram API? The programming language is not important (perhaps php or ruby). Thank you in advance for any help!
No. It's impossible. Btw, "auth.sendSms" - is not bot API, it's native client API.