add_message_poll_item()
Parameters
- Token(character varying)
- MessageID(integer)
- Name(character varying)
Returns
Description
- Adds an individual item[Name] to a message poll[MessageID]. This item can be voted on using
add_message_poll_vote() by other users in the course.
Errors
- 1 - This MessageID is not valid.
- 2 - Invalid Session.
- 3 - This user does not have permission to access this class.
- 4 - Name cannot be an empty field.
- 5 - Item is already added to message.
- 6 - Message is not poll type.
Related functions