Telegram Bots: secret chats possible?
Asked Answered
F

2

23

Telegram offers "secret chats". Is it possible that a bot opens a secret chat and sends a message? I could not find any method or parameter for this function.

Freshet answered 19/8, 2015 at 10:40 Comment(0)
M
25

Telegram's Bot API does not support secret chats at the moment. You can read the documentation, but a short explanation is: end-to-end encryption is used in secret chats which is tricky to implement for bots and requires additional work.

There's no word on when it'll be supported, if ever. At any rate, Telegram Bots are generally meant as a useful aid or for fun, not for sensitive things like financial transactions.

Murdocca answered 25/8, 2015 at 16:19 Comment(3)
Thank you for your insight. Do you know if the situation has changed in the meanwhile?Cream
Financial transactions are now supported using a dedicated API. core.telegram.org/bots/paymentsCream
It will be great if there is any mean allows bot to send messages individually. Suppose that a company need to contact with one of their clients.Cozenage
C
5

I know this is too late, but following the post, I found out they support for secret chat API REST API . You can check if still interested.

Capriole answered 1/8, 2019 at 6:19 Comment(1)
I got excited upon reading your answer, but unfortunately methods such as messages.sendEncrypted throw an error "400: This method can't be used by a bot"Violaviolable

© 2022 - 2024 — McMap. All rights reserved.