Uses of Class
io.meeds.poll.mcp.model.PollResultModel
Packages that use PollResultModel
-
Uses of PollResultModel in io.meeds.poll.mcp
Methods in io.meeds.poll.mcp that return PollResultModelModifier and TypeMethodDescriptionPollMcpTool.createPoll(Long spaceId, String question, List<String> options, String duration, String message) Creates a poll (with its options) and posts it to a space activity stream.PollMcpTool.getPollResults(Long pollId) Returns a poll's question, options and current vote tallies.PollMcpTool.voteInPoll(Long pollOptionId) Casts the current user's vote for a poll option and returns the updated results.Methods in io.meeds.poll.mcp that return types with arguments of type PollResultModelModifier and TypeMethodDescriptionPollMcpTool.listSpacePolls(Long spaceId, Integer limit) Lists the polls posted in a space (most recent first) with their ids and current results, so a poll can be found without knowing its id.