import { MessageCreator } from './MessageCreator'; import { IStopPollOptions, MessageCreatorTypes, SendTypes } from '../../types'; import { Keyboard } from '../Keyboard/Keyboard'; export declare class StopPoll extends MessageCreator { readonly keyboard?: Keyboard; readonly msgId?: number | null; readonly chatId?: number | string | null; readonly moreOptions: IStopPollOptions; sendType: SendTypes; type: MessageCreatorTypes; /** * Stop a poll * @param keyboard Keyboard you want to edit * @param msgId Optional. Message ID of the poll you want to stop. Current message id by default * @param chatId Optional. Chat ID in which poll you want to stop is located. Current chat id by default * @param moreOptions More options {@link IStopPollOptions} * @see https://core.telegram.org/bots/api#stoppoll * */ constructor(keyboard?: Keyboard, msgId?: number | null, chatId?: number | string | null, moreOptions?: IStopPollOptions); }