Polls data clone #2671
rafixtv
started this conversation in
Feedback & Suggestions
Replies: 1 comment
-
How about |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instread of this method:
MessagePoll poll = msg.getPoll();
action.setPoll(new MessagePollData(poll.getLayout(), poll.getQuestion(), poll.getAnswers(), Duration.ofDays(3), poll.isMultiAnswer()));
Add method like in MessageCreateData:
action.setPoll(MessagePollData.fromPoll(msg.getPoll()));
Beta Was this translation helpful? Give feedback.
All reactions