- Add `GuestStatus` enum - Add `Plan.guests` property - Made `Plan.going`, `Plan.declined` and `Plan.invited` property accessors to `Plan.guests`
30 lines
1.1 KiB
Python
30 lines
1.1 KiB
Python
# -*- coding: UTF-8 -*-
|
|
"""This file is here to maintain backwards compatability, and to re-export our models
|
|
into the global module (see `__init__.py`).
|
|
|
|
A common pattern was to use `from fbchat.models import *`, hence we need this while
|
|
transitioning to a better code structure.
|
|
"""
|
|
from __future__ import unicode_literals
|
|
|
|
from ._core import Enum
|
|
from ._exception import FBchatException, FBchatFacebookError, FBchatUserError
|
|
from ._thread import ThreadType, ThreadLocation, ThreadColor, Thread
|
|
from ._user import TypingStatus, User, ActiveStatus
|
|
from ._group import Group, Room
|
|
from ._page import Page
|
|
from ._message import EmojiSize, MessageReaction, Mention, Message
|
|
from ._attachment import Attachment, UnsentMessage, ShareAttachment
|
|
from ._sticker import Sticker
|
|
from ._location import LocationAttachment, LiveLocationAttachment
|
|
from ._file import FileAttachment, AudioAttachment, ImageAttachment, VideoAttachment
|
|
from ._quick_reply import (
|
|
QuickReply,
|
|
QuickReplyText,
|
|
QuickReplyLocation,
|
|
QuickReplyPhoneNumber,
|
|
QuickReplyEmail,
|
|
)
|
|
from ._poll import Poll, PollOption
|
|
from ._plan import GuestStatus, Plan
|