Skip to content

export Class

InputPaidMediaBuilder ​

extends ​

Builder

Constructor ​

ts
 new InputPaidMediaBuilder( ...medias )
ParameterTypeDescription
...mediasInputPaidMedia[]The medias to be attached to this builder.

Methods ​

add( ...medias ) ​

ParameterTypeDescription
...mediasInputPaidMedia[]The medias to add.

Adds medias to the current builder.

Returns: InputPaidMediaBuilder

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.