• Close a poll sent by you.

    Once closed, poll can't be re-opened, and nobody will be able to vote in it

    Parameters

    • client: ITelegramClient
    • params: InputMessageId & { shouldDispatch?: true }
      • OptionalshouldDispatch?: true

        Whether to dispatch the edit message event to the client's update handler.

    Returns Promise<Poll>