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

x/mtkruto/tl/2_types.ts>InputMediaPoll

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputMediaPoll
extends _TypeInputMedia
import { InputMediaPoll } from "https://deno.land/x/mtkruto@0.1.0/tl/2_types.ts";

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