tgbot 0.47.0

A Telegram Bot library
Documentation
{
  "http_method": "POST",
  "url_path": "sendRichMessage",
  "req_body": {
    "multipart": {
      "allow_paid_broadcast": true,
      "business_connection_id": "test",
      "chat_id": 1,
      "direct_messages_topic_id": 1,
      "disable_notification": true,
      "message_effect_id": "test",
      "message_thread_id": 1,
      "protect_content": true,
      "reply_markup": {
        "force_reply": true
      },
      "reply_parameters": {
        "message_id": 1
      },
      "rich_message": {
        "html": "test",
        "is_rtl": true,
        "media": [
          {
            "id": "id",
            "media": {
              "media": "test",
              "type": "animation"
            }
          }
        ]
      },
      "suggested_post_parameters": {}
    }
  },
  "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
      },
      "rich_message": {
        "blocks": [
          {
            "type": "paragraph",
            "text": "test"
          },
          {
            "type": "animation",
            "animation": {
              "file_id": "file-id",
              "file_unique_id": "file-unique-id",
              "width": 200,
              "height": 200,
              "duration": 10
            }
          }
        ]
      },
      "is_automatic_forward": false,
      "has_protected_content": false
    }
  }
}