hi if use msg.payload.optional.type = "quiz"
msg.payload.type = 'poll';
msg.payload.content = "What do you think?";
msg.payload.options = ["A", "B", "C" ];
// you can add optional arguments see
// https://core.telegram.org/bots/api#sendpoll
msg.payload.optional = {
allows_multiple_answers : true,
is_closed : false,
type: "quiz"
};
return msg;
Caught exception in sender node:
Error: ETELEGRAM: 400 Bad Request: wrong correct option ID specified
when processing message:
I see you have opened a issue in the node's GitHub page. That was going to be my suggestion.
system
Closed
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.