SetPollAnswer constructor

const SetPollAnswer({
  1. required int chatId,
  2. required int messageId,
  3. required List<int> optionIds,
})

Changes the user answer to a poll. A poll in quiz mode can be answered only once

Implementation

const SetPollAnswer({
  required this.chatId,
  required this.messageId,
  required this.optionIds,
});