Messages

Search for Telegram bot messages

The method is used to search for Telegram bot messages using a part of name or a tag. By default, a rate limit of 500 requests per hour applies. <br/>The method returns a maximum of 500 messages per request. <br/>The <b>TotalCount</b> header contains the number of messages returned by the query.

get/api/v1/messages/telegram

Request

Query parameters

searchstring

Search condition (part of the message name or a tag)

startindexinteger

Index of the first returned message from the search results. Numbering starts at 1

maxrowsinteger

Maximum number of messages to return (not more than 500)

Response

idinteger

Message ID.

namestring required

Message name.

languageCodestring

Language code.

tagsstring[]

List of tags.

subscriptionsKeysstring[]

Subscription categories keys, assigned to a message.

languagesstring[]

An array with the language codes for multilingual messages. Available for the GET method only.

textstring
imageSourcestring

Image URL for a single image in a message.

Example response

[
  {
    "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"
          }
        ]
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 2 revisions of this API.