Skip to content

Commit

Permalink
Fix ChatBoostSourceGiveaway and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Badiboy committed Feb 17, 2024
1 parent 8f3dc12 commit 0de7480
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'coder2020official'

# The full version, including alpha/beta/rc tags
release = '4.15.5'
release = '4.16.0'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pyTelegramBotAPI"
version = "4.15.5"
version = "4.16.0"
description = "Python Telegram bot api."
authors = [{name = "eternnoir", email = "[email protected]"}]
license = {text = "GPL2"}
Expand Down
2 changes: 1 addition & 1 deletion telebot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9164,7 +9164,7 @@ def de_json(cls, json_string):
if json_string is None:
return None
obj = cls.check_json(json_string)
obj['user'] = User.de_json(obj['user'])
obj['user'] = User.de_json(obj.get('user'))
return cls(**obj)

def __init__(self, source, giveaway_message_id, user=None, is_unclaimed=None, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion telebot/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '4.15.5'
__version__ = '4.16.0'

0 comments on commit 0de7480

Please sign in to comment.