Hello !
I have been trying to make the right POST request and dont understand the error I am getting it says Title missing…but the title is there. I had problems and I am still not sure if I am sending the LabeledPrice the right way, I am using the double underscore notation.
Please help!
This is what I post:
SettingsOutput
Webhook URL
https://api.telegram.org/bot11111111111111111111/sendInvoice
HTTP Method
POST
Content Type
Raw Body
Body
{
“chat_id”:“42816111”,
“title”:“Some product name”,
“description”:“Some product description”,
“payload”:“invoice_number”,
“provider_token”:“11111111111111111”,
“start_parameter”:“Some_param_123”,
“currency”:“RUB”,
“prices”:[{“label”:“Price”,“amount”:“145” }]
}
And this is the error I get:
Status Code
400
Body
{“ok”:false,“error_code”:400,“description”:“Bad Request: title is empty”}
Data
{
“ok”: false,
“error_code”: 400,
“description”: “Bad Request: title is empty”
}