@@ -9713,6 +9713,9 @@ class ReplyParameters(JsonDeserializable, Dictionaryable, JsonSerializable):
97139713 :param checklist_task_id: Optional. Optional. Identifier of the specific checklist task to be replied to
97149714 :type checklist_task_id: :obj:`int`
97159715
9716+ :param poll_option_id: Optional. Persistent identifier of the specific poll option to be replied to
9717+ :type poll_option_id: :obj:`str`
9718+
97169719 :return: Instance of the class
97179720 :rtype: :class:`ReplyParameters`
97189721 """
@@ -9728,7 +9731,8 @@ def de_json(cls, json_string):
97289731 def __init__(self, message_id: int, chat_id: Optional[Union[int, str]] = None,
97299732 allow_sending_without_reply: Optional[bool] = None, quote: Optional[str] = None,
97309733 quote_parse_mode: Optional[str] = None, quote_entities: Optional[List[MessageEntity]] = None,
9731- quote_position: Optional[int] = None, checklist_task_id: Optional[int] = None, **kwargs) -> None:
9734+ quote_position: Optional[int] = None, checklist_task_id: Optional[int] = None,
9735+ poll_option_id: Optional[str] = None, **kwargs) -> None:
97329736 self.message_id: int = message_id
97339737 self.chat_id: Optional[Union[int, str]] = chat_id
97349738 self.allow_sending_without_reply: Optional[bool] = allow_sending_without_reply
@@ -9737,6 +9741,7 @@ def __init__(self, message_id: int, chat_id: Optional[Union[int, str]] = None,
97379741 self.quote_entities: Optional[List[MessageEntity]] = quote_entities
97389742 self.quote_position: Optional[int] = quote_position
97399743 self.checklist_task_id: Optional[int] = checklist_task_id
9744+ self.poll_option_id: Optional[str] = poll_option_id
97409745
97419746 def to_dict(self) -> dict:
97429747 json_dict = {
@@ -9756,6 +9761,8 @@ def to_dict(self) -> dict:
97569761 json_dict['quote_position'] = self.quote_position
97579762 if self.checklist_task_id is not None:
97589763 json_dict['checklist_task_id'] = self.checklist_task_id
9764+ if self.poll_option_id is not None:
9765+ json_dict['poll_option_id'] = self.poll_option_id
97599766 return json_dict
97609767
97619768 def to_json(self) -> str:
0 commit comments