Skip to content

Commit 9b7ff41

Browse files
authored
Merge pull request #12 from droooney/fix-input-poll-option-typings
fix InputPollOption typings
2 parents eb7f347 + bf0599a commit 9b7ff41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/InputPollOption.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ParseMode } from './';
1+
import { MessageEntity, ParseMode } from './';
22

33
/**
44
* ## InputPollOption
@@ -21,5 +21,5 @@ export type InputPollOption = {
2121
* Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified
2222
* instead of text_parse_mode
2323
*/
24-
text_entities?: 'string'; // TODO: JSON MessageEntity[];
24+
text_entities?: MessageEntity[];
2525
};

0 commit comments

Comments
 (0)