Create LastSeen class · stack-queue/pyrogram@465dcac · GitHub
Skip to content

Commit 465dcac

Browse files
committed
Create LastSeen class
1 parent 474388d commit 465dcac

5 files changed

Lines changed: 50 additions & 2 deletions

File tree

compiler/api/compiler.py

Lines changed: 1 addition & 0 deletions

pyrogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from .client.types import (
3030
Audio, Chat, ChatMember, ChatMembers, ChatPhoto, Contact, Document, InputMediaPhoto,
3131
InputMediaVideo, InputMediaDocument, InputMediaAudio, InputMediaAnimation, InputPhoneContact,
32-
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User,
32+
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, LastSeen,
3333
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
3434
InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove
3535
)

pyrogram/client/types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
from .update import Update
3737
from .user_and_chats import (
3838
Chat, ChatMember, ChatMembers, ChatPhoto,
39-
Dialog, Dialogs, User
39+
Dialog, Dialogs, User, LastSeen
4040
)

pyrogram/client/types/user_and_chats/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
from .chat_photo import ChatPhoto
2323
from .dialog import Dialog
2424
from .dialogs import Dialogs
25+
from .last_seen import LastSeen
2526
from .user import User
Lines changed: 46 additions & 0 deletions

0 commit comments

Comments
 (0)