ark0f / tg-bot-api

Telegram Bot API parser and generators
https://ark0f.github.io/tg-bot-api
Apache License 2.0
51 stars 6 forks source link

Incorrect return type reference in GetStarTransactions method #21

Open IRus opened 1 month ago

IRus commented 1 month ago
{
  "name": "getStarTransactions",
  "description": "Returns the bot's Telegram Star transactions in chronological order. On success, returns a [StarTransactions](https://core.telegram.org/bots/api/#startransactions) object.",
  "arguments": [
    {
      "name": "offset",
      "description": "Number of transactions to skip in the response",
      "required": false,
      "type": "integer"
    },
    {
      "name": "limit",
      "description": "The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
      "required": false,
      "type": "integer",
      "default": 100,
      "min": 1,
      "max": 100
    }
  ],
  "multipart_only": false,
  "return_type": {
    "type": "reference",
    "reference": "Telegram"
  },
  "documentation_link": "https://core.telegram.org/bots/api/#getstartransactions"
},
<h4><a class="anchor" name="getstartransactions" href="#getstartransactions"><i class="anchor-icon"></i></a>getStarTransactions</h4>
<p>Returns the bot&#39;s Telegram Star transactions in chronological order. On success, returns a <a href="#startransactions">StarTransactions</a> object.</p>
<table class="table">
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>offset</td>
<td>Integer</td>
<td>Optional</td>
<td>Number of transactions to skip in the response</td>
</tr>
<tr>
<td>limit</td>
<td>Integer</td>
<td>Optional</td>
<td>The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.</td>
</tr>
</tbody>
</table>