Skip to content

Commit

Permalink
πŸ§‘πŸ»β€πŸ”§ Merge #248: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HeySreelal authored May 6, 2024
2 parents 7bb90e3 + e22b237 commit 99d616b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/telegram/models/input_poll_option.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ class InputPollOption {
'text': text,
'text_parse_mode': textParseMode?.value,
'text_entities': textEntities?.map((entity) => entity.toJson()).toList(),
};
}..removeWhere(_nullFilter);
}
}
2 changes: 1 addition & 1 deletion lib/src/televerse/raw_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ class RawAPI {
"chat_id": chatId.id,
"message_thread_id": messageThreadId,
"question": question,
"options": options.map((e) => e.toJson()),
"options": options.map((e) => e.toJson()).toList(),
"is_anonymous": isAnonymous,
"type": type.type,
"allows_multiple_answers": allowsMultipleAnswers,
Expand Down

0 comments on commit 99d616b

Please sign in to comment.