Skip to content

Commit 1b98a23

Browse files
committed
Fix docs and add Permissions to botogram/objects/__init__.py
1 parent 555401c commit 1b98a23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

botogram/objects/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
# flake8: noqa
2222

23-
from .chats import User, Chat, UserProfilePhotos
23+
from .chats import User, Chat, UserProfilePhotos, Permissions
2424
from .media import PhotoSize, Photo, Audio, Voice, Document, Sticker, \
2525
Video, Contact, Location, Venue
26-
from .messages import Message
26+
from .messages import Message,
2727
from .markup import ReplyKeyboardMarkup, ReplyKeyboardHide, ForceReply
2828
from .updates import Update, Updates
2929

docs/api/telegram.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,7 +2257,8 @@ about its business.
22572257
22582258
This class represents the permissions of the user.
22592259
If you use this as a context manager, the save method will automatically be called if no exceptions were raised."
2260-
[example with only the context manager, not the full handler]
2260+
2261+
.. versionadded:: 0.6
22612262

22622263
.. py:attribute:: until_date
22632264
@@ -2285,7 +2286,6 @@ about its business.
22852286

22862287
This method automatically detects the changes you made and doesn't do anything if no attribute was changed.
22872288

2288-
.. versionadded:: 0.6
22892289

22902290

22912291
.. py:class:: botogram.Venue

0 commit comments

Comments
 (0)