Skip to content

Commit 1811881

Browse files
committed
#24: add poll field to MessageType
1 parent d3ef14c commit 1811881

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Type/MessageType.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ class MessageType implements HasParseModeVariableInterface
229229
*/
230230
public $venue;
231231

232+
/**
233+
* Optional. Message is a native poll, information about the poll.
234+
*
235+
* @var PollType|null
236+
*/
237+
public $poll;
238+
232239
/**
233240
* Optional. New members that were added to the group or supergroup and information about them
234241
* (the bot itself may be one of these members).

0 commit comments

Comments
 (0)