Messages
Add/update translated Telegram message
The method is used for updating or adding language versions for the basic Telegram message.
put/api/v1/messages/telegram/{id}/{language}
Request
- Base URLhttps://esputnik.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Telegram bot message ID
languagestring required
Language code
Request body
Example request
{
"imageSource": "https://www.example.com/images/sample.jpg",
"buttons": [
{
"callbackData": "callback|211|||goto|212|82/scanpack"
}
],
"translations": [
{
"imageSource": "https://www.example.com/images/sample.jpg",
"buttons": [
{
"callbackData": "callback|211|||goto|212|82/scanpack"
}
]
}
]
}Response
string required
Changes
No recorded changes to this operation across all 2 revisions of this API.