Skip to content

Commit

Permalink
Merge pull request #2405 from maksimkulis/patch-1
Browse files Browse the repository at this point in the history
Fix KeyboardButtonRequestChat request_title typing
  • Loading branch information
Badiboy authored Oct 18, 2024
2 parents 344e52f + 58356c8 commit 10c88b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2655,7 +2655,7 @@ def __init__(self, request_id: int, chat_is_channel: bool, chat_is_forum: Option
chat_has_username: Optional[bool]=None, chat_is_created: Optional[bool]=None,
user_administrator_rights: Optional[ChatAdministratorRights]=None,
bot_administrator_rights: Optional[ChatAdministratorRights]=None, bot_is_member: Optional[bool]=None,
request_title: Optional[str]=None, request_photo: Optional[bool]=None, request_username: Optional[bool]=None):
request_title: Optional[bool]=None, request_photo: Optional[bool]=None, request_username: Optional[bool]=None):
self.request_id: int = request_id
self.chat_is_channel: bool = chat_is_channel
self.chat_is_forum: Optional[bool] = chat_is_forum
Expand All @@ -2664,7 +2664,7 @@ def __init__(self, request_id: int, chat_is_channel: bool, chat_is_forum: Option
self.user_administrator_rights: Optional[ChatAdministratorRights] = user_administrator_rights
self.bot_administrator_rights: Optional[ChatAdministratorRights] = bot_administrator_rights
self.bot_is_member: Optional[bool] = bot_is_member
self.request_title: Optional[str] = request_title
self.request_title: Optional[bool] = request_title
self.request_photo: Optional[bool] = request_photo
self.request_username: Optional[bool] = request_username

Expand Down

0 comments on commit 10c88b7

Please sign in to comment.