typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
21 lines (20 loc) • 410 B
TypeScript
import { LabeledPrice } from './LabeledPrice';
/**
* ## ShippingOption
* This object represents one shipping option.
* @see https://core.telegram.org/bots/api#shippingoption
*/
export type ShippingOption = {
/**
* Shipping option identifier
*/
id: string;
/**
* Option title
*/
title: string;
/**
* List of price portions
*/
prices: LabeledPrice[];
};