Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
and Bump Version
  • Loading branch information
SpEcHiDe committed Apr 20, 2024
1 parent eb8f32c commit 0d5152b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/releases/changes-in-this-fork.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ it can take advantage of new goodies!
- Added ``gifted_premium`` service message to :obj:`~pyrogram.types.Message`.
- Added :meth:`~pyrogram.Client.get_stickers`.
- Added ``filters.users_shared`` and ``filters.chat_shared``.
- Added the field ``origin`` of type :obj:`~pyrogram.types.MessageOrigin`` in the class :obj:`~pyrogram.types.ExternalReplyInfo`.
- Added the class :obj:`~pyrogram.types.MessageOrigin` and replaced the fields ``forward_from``, ``forward_from_chat``, ``forward_from_message_id``, ``forward_signature``, ``forward_sender_name``, and ``forward_date`` with the field ``forward_origin`` of type :obj:`~pyrogram.types.MessageOrigin`` in the class :obj:`~pyrogram.types.Message`.
- Added the field ``origin`` of type :obj:`~pyrogram.types.MessageOrigin` in the class :obj:`~pyrogram.types.ExternalReplyInfo`.
- Added the class :obj:`~pyrogram.types.MessageOrigin` and replaced the fields ``forward_from``, ``forward_from_chat``, ``forward_from_message_id``, ``forward_signature``, ``forward_sender_name``, and ``forward_date`` with the field ``forward_origin`` of type :obj:`~pyrogram.types.MessageOrigin` in the class :obj:`~pyrogram.types.Message`.
- Added ``accent_color``, ``profile_color``, ``emoji_status``, ``is_close_friend`` to :obj:`~pyrogram.types.Chat` and :obj:`~pyrogram.types.User`.
- Added the method :meth:`~pyrogram.Client.get_created_chats`.
- Added the class :obj:`~pyrogram.types.ForumTopic` and the methods :meth:`~pyrogram.Client.get_forum_topics`, :meth:`~pyrogram.Client.get_forum_topic`.
Expand Down
2 changes: 1 addition & 1 deletion pyrogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

__version__ = "2.1.21"
__version__ = "2.1.22"
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
__copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"

Expand Down

0 comments on commit 0d5152b

Please sign in to comment.