tgbot 0.47.0

A Telegram Bot library
Documentation
{
  "http_method": "POST",
  "url_path": "sendVoice",
  "req_body": {
    "multipart": {
      "caption": "caption",
      "chat_id": 1,
      "parse_mode": "Markdown",
      "voice": "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
      },
      "voice": {
        "file_id": "file-id",
        "file_unique_id": "file-unique-id",
        "duration": 100,
        "mime_type": "audio/mpeg",
        "file_size": 10000
      },
      "caption": "caption",
      "caption_entities": [
        {
          "type": "bold",
          "offset": 0,
          "length": 2
        }
      ],
      "is_automatic_forward": false,
      "has_protected_content": false
    }
  }
}