Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/2_tl.ts>types.InputMediaPoll

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.InputMediaPoll
import { types } from "https://deno.land/x/mtkruto@0.0.999/2_tl.ts";
const { InputMediaPoll } = types;

Constructors

new
InputMediaPoll(params: { poll: TypePoll; correctAnswers?: Array<Uint8Array>; solution?: string; solutionEntities?: Array<TypeMessageEntity>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
correctAnswers: Array<Uint8Array>
poll: TypePoll
optional
solution: string
optional
solutionEntities: Array<TypeMessageEntity>

Static Properties

readonly
[paramDesc]: ParamDesc