Message Types: Inbound Messages

Text

{
    "type": "text",
    "text": "Hi",
    "id": "130"
}

Image

{
    "type": "image",
    "text": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/AgACAgUAAxkBAAOEY4S5NBYD7Y7ytkHcOSsyK47S6ogAAouyMRtNhyhUv8L2kzDjtR8BAAMCAAN5AAMrBA",
    "url": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/AgACAgUAAxkBAAOEY4S5NBYD7Y7ytkHcOSsyK47S6ogAAouyMRtNhyhUv8L2kzDjtR8BAAMCAAN5AAMrBA",
    "mediaId": "AgACAgUAAxkBAAOEY4S5NBYD7Y7ytkHcOSsyK47S6ogAAouyMRtNhyhUv8L2kzDjtR8BAAMCAAN5AAMrBA",
    "id": "132"
}

Audio

{
    "type": "audio",
    "text": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/CQACAgUAAxkBAAOIY4S7gj80D-_FuZ4U-Xazyc9mEmQAAvoHAAIkpihUPoiYfK1RgMwrBA",
    "url": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/CQACAgUAAxkBAAOIY4S7gj80D-_FuZ4U-Xazyc9mEmQAAvoHAAIkpihUPoiYfK1RgMwrBA",
    "mediaId": "CQACAgUAAxkBAAOIY4S7gj80D-_FuZ4U-Xazyc9mEmQAAvoHAAIkpihUPoiYfK1RgMwrBA",
    "id": "136"
}

Video

{
    "type": "video",
    "text": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/BAACAgUAAxkBAAOGY4S64eCtL4oIAkc3pxGfzdCNvBgAAvgHAAIkpihUVzsWZpRmm-MrBA",
    "url": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/BAACAgUAAxkBAAOGY4S64eCtL4oIAkc3pxGfzdCNvBgAAvgHAAIkpihUVzsWZpRmm-MrBA",
    "mediaId": "BAACAgUAAxkBAAOGY4S64eCtL4oIAkc3pxGfzdCNvBgAAvgHAAIkpihUVzsWZpRmm-MrBA",
    "id": "134"
}

Sticker

{
    "type": "sticker",
    "text": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/CAACAgIAAxkBAAOKY4S7650_tCw4xk5C87hl9uHl_yAAAgEAA8A2TxMYLnMwqz8tUSsE",
    "url": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/CAACAgIAAxkBAAOKY4S7650_tCw4xk5C87hl9uHl_yAAAgEAA8A2TxMYLnMwqz8tUSsE",
    "mediaId": "CAACAgIAAxkBAAOKY4S7650_tCw4xk5C87hl9uHl_yAAAgEAA8A2TxMYLnMwqz8tUSsE",
    "id": "138"
}

Location

{
  "type":"location",
  "text":"https://www.google.com/maps/?q=19.26085,73.135321",
  "latitude":"19.26085",
  "longitude":"73.135321",
  "id":"140"
}

Contacts

{
    "type": "contacts",
    "text": "{\"phone_number\":\"+917719852989\",\"first_name\":\"+91 77198\",\"last_name\":\"52989\",\"vcard\":\"BEGIN:VCARD\\nVERSION:3.0\\nFN:+91 77198 52989\\nTEL;CELL;PREF:+917719852989\\nEND:VCARD\",\"user_id\":null}",
    "id": "186"
}

Voice

{
    "type": "audio",
    "text": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/AwACAgUAAxkBAAOSY4S9XiSOLbP7LMdoc6IlvMNB-74AAvwHAAIkpihUr_1MZZjrxHwrBA",
    "url": "https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/AwACAgUAAxkBAAOSY4S9XiSOLbP7LMdoc6IlvMNB-74AAvwHAAIkpihUr_1MZZjrxHwrBA",
    "mediaId": "AwACAgUAAxkBAAOSY4S9XiSOLbP7LMdoc6IlvMNB-74AAvwHAAIkpihUr_1MZZjrxHwrBA",
    "id": "146"
}

File

{
  "type":"file",
  "text":"https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/BQACAgQAAxkBAAOUY4S9wLpEN-pFfCfGtwmMGDixeCYAApMDAAIr5l1R-gvx9dtc_WIrBA",
  "url":"https://filemanager.gupshup.io/fm/telegramMedia/integrationtestbot/BQACAgQAAxkBAAOUY4S9wLpEN-pFfCfGtwmMGDixeCYAApMDAAIr5l1R-gvx9dtc_WIrBA",
  "mediaId":"BQACAgQAAxkBAAOUY4S9wLpEN-pFfCfGtwmMGDixeCYAApMDAAIr5l1R-gvx9dtc_WIrBA",
  "id":"148"
}

QuickReply Response

{
  "type":"text",
  "text":"Red",
  "id":"180"
}