/**
* Use this method to get the bot's Telegram Star transactions.
* On success, returns a [StarTransactions](https://core.telegram.org/bots/api#startransactions) object.
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
* @see https://core.telegram.org/bots/api#startransactions
*/
getStarTransactions(form = {}) {
return this._request('getStarTransactions', { form });
}
This code adds getStarTransactions method and required type (https://core.telegram.org/bots/api#getstartransactions)
src/telegram.js
test/telegram.js
type definitions index.d.ts (https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-telegram-bot-api)