Heya, can anyone point me what I'm doing wrong here

?

>> curl -s https://api.telegram.org/bot***/deleteMessage?chat_id=1720148***&message_id=1112

>> {"ok":false,"error_code":400,"description":"Bad Request: message identifier is not specified"}

4 ответов

39 просмотров

How you got the message id ?

­-Jãїиãм Автор вопроса
Shrimadhav U K
How you got the message id ?

by sending a message in a channel

­ Jãїиãм
by sending a message in a channel

channel ids usually start with -100.

­-Jãїиãм Автор вопроса
Shrimadhav U K
channel ids usually start with -100.

curl -s https://api.telegram.org/bot***/deleteMessage?chat_id=-1001720148186&message_id=1116 {"ok":false,"error_code":400,"description":"Bad Request: message identifier is not specified"}

Похожие вопросы

Карта сайта