tgbot 0.47.0

A Telegram Bot library
Documentation
{
  "http_method": "POST",
  "url_path": "sendPhoto",
  "req_body": {
    "multipart": {
      "caption": "caption",
      "chat_id": 1,
      "parse_mode": "Markdown",
      "photo": "file-id"
    }
  },
  "rep_body": {
    "ok": true,
    "result": {
      "message_id": 1,
      "date": 0,
      "chat": {
        "type": "group",
        "id": 1,
        "title": "Test"
      },
      "from": {
        "id": 1,
        "first_name": "John",
        "is_bot": false
      },
      "photo": [
        {
          "file_id": "file-id",
          "file_unique_id": "fuid",
          "width": 200,
          "height": 200,
          "file_size": 100
        }
      ],
      "caption": "caption",
      "is_automatic_forward": false,
      "has_protected_content": false
    }
  }
}