Skip to content

Kurulko/Poll-Editor-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for editing polls


Commands:

To edit a poll, use these commands after sending a poll:

/change_visibility - edit poll visibility (public/anonymous):

Screenshot 2024-01-24 173257

/change_question - edit poll question:

Screenshot 2024-01-24 173459

/change_question_by_template - edit poll question by template
/change_poll_type - edit poll type:

Screenshot 2024-01-24 173552

/change_correct_option - edit poll's correct option (only for quizzes):

Screenshot 2024-01-24 173707

/change_explanation - edit poll explanation (only for quizzes, optional):

image

/drop_explanation - remove poll explanation (only for quizzes, if present, optional)
/change_open_period - edit poll's open period (optional)
/drop_open_period - remove poll's open period (optional, if present)
/change_option - edit a poll option:

image

/insert_option - insert a poll option:

image

/add_option_to_end - add a poll option to end:

image

/delete_option - remove a poll option:

image

/change_options - edit all poll options:

image

/change_is_multiple_answers - edit - multiple answers:

image

For other commands that require a poll:

/get_text_poll - get text poll

No need to send a poll for these options:

/create_poll - create a poll

Others:

/start - start the bot
/stop - stop the bot
/help - view all bot commands

❗️IMPORTANT: The quiz must be submitted on your behalf and must be answered if it is not yours.
⚠️WARNING: Once the quiz is edited, all the answers will be discarded.

Errors:

MESSAGE_TYPE_NOT_SUITABLE - the current message type is not suitable
MESSAGE_ENTITY_TYPE_NOT_SUPPORTED - The message entity type is not supported for now
QUIZ_SENT_INCORRECTLY - The quiz was sent incorrectly. The quiz must be submitted on your behalf and must be answered if it is not yours:

Screenshot 2024-01-24 172959

About

Telegram bot for editing polls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages