| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- """Async Python client library for the Chatto Connect API."""
- from chattolib.client import ChattoClient
- from chattolib.exceptions import ChattoAuthError, ChattoConnectError, ChattoError
- from chattolib.realtime import (
- ChattoRealtimeCloseError,
- ChattoRealtimeError,
- RealtimeConnection,
- RealtimeEvent,
- RealtimeSnapshot,
- stream_events,
- )
- try: # the bot framework needs the optional realtime extra
- from chattolib.bot import Bot, BotError
- except ImportError: # pragma: no cover - realtime extra not installed
- Bot = None # type: ignore[assignment,misc]
- BotError = None # type: ignore[assignment,misc]
- from chattolib.types import (
- ActiveCall,
- ActiveCallParticipant,
- AdminMember,
- AdminRole,
- AdminRoomLayoutGroup,
- Asset,
- AssetUpload,
- AssetUploadStatus,
- AssetUrl,
- BotAccount,
- BotApiKey,
- BotInfo,
- BotOutboundWebhook,
- BotWebhookFailure,
- CallMediaPublisherKind,
- CredentialLastUsedState,
- CustomUserStatus,
- DirectoryMember,
- ExternalIdentityFlowKind,
- ExternalIdentityProvider,
- FollowedThread,
- FollowedThreadsPage,
- ImageFitMode,
- ImageTransformOptions,
- InviteLink,
- InviteLinkStatus,
- LinkedExternalIdentity,
- LinkPreview,
- Message,
- MessageAttachment,
- MessageReaction,
- MessageSearchGroupBy,
- MessageSearchOrder,
- MessageSearchScope,
- MessageSearchState,
- MessageViewerState,
- Neighbor,
- NeighborhoodServer,
- NeighborhoodServersPage,
- NotificationLevel,
- NotificationMessageReference,
- NotificationOccurrence,
- NotificationOccurrencesPage,
- NotificationPolicy,
- NotificationRoomUnreadCount,
- NotificationSignal,
- OAuthClient,
- OauthClientPolicy,
- OauthClientSource,
- Page,
- PendingExternalIdentity,
- PermissionDecision,
- PermissionScopeKind,
- PinnedMessage,
- PinnedMessagesPage,
- PresencePreference,
- PresenceStatus,
- PrivilegedModeState,
- ProviderMetadata,
- ReadMarker,
- Role,
- Room,
- RoomDirectoryScope,
- RoomGroup,
- RoomInvitation,
- RoomInvitationStatus,
- RoomKind,
- RoomReadState,
- RoomSummary,
- RoomSuspension,
- RoomThreadingMode,
- RoomViewerState,
- RoomWithViewerState,
- SearchResultsPage,
- SearchStatus,
- ServerConfig,
- ServerLogin,
- ServerProfile,
- ServerRuntimeConfig,
- SidebarLink,
- ThreadOrder,
- ThreadReadState,
- ThreadRootAuthorFilter,
- ThreadSearchContext,
- ThreadSummary,
- ThreadViewerState,
- TimeFormat,
- TimelineEvent,
- TimelinePage,
- User,
- UserSettings,
- VerifiedEmail,
- VideoProcessing,
- VideoProcessingStatus,
- VideoVariant,
- ViewerUser,
- )
- __all__ = [
- "Bot",
- "BotError",
- "ChattoClient",
- "ChattoError",
- "ChattoConnectError",
- "ChattoAuthError",
- "ChattoRealtimeCloseError",
- "ChattoRealtimeError",
- "RealtimeConnection",
- "RealtimeEvent",
- "RealtimeSnapshot",
- "stream_events",
- "ActiveCall",
- "ActiveCallParticipant",
- "AdminMember",
- "AdminRole",
- "AdminRoomLayoutGroup",
- "Asset",
- "AssetUpload",
- "AssetUploadStatus",
- "AssetUrl",
- "BotAccount",
- "BotApiKey",
- "BotInfo",
- "BotOutboundWebhook",
- "BotWebhookFailure",
- "CallMediaPublisherKind",
- "CredentialLastUsedState",
- "CustomUserStatus",
- "DirectoryMember",
- "ExternalIdentityFlowKind",
- "ExternalIdentityProvider",
- "FollowedThread",
- "FollowedThreadsPage",
- "ImageFitMode",
- "ImageTransformOptions",
- "InviteLink",
- "InviteLinkStatus",
- "LinkPreview",
- "LinkedExternalIdentity",
- "Message",
- "MessageAttachment",
- "MessageReaction",
- "MessageSearchGroupBy",
- "MessageSearchOrder",
- "MessageSearchScope",
- "MessageSearchState",
- "MessageViewerState",
- "Neighbor",
- "NeighborhoodServer",
- "NeighborhoodServersPage",
- "NotificationLevel",
- "NotificationMessageReference",
- "NotificationOccurrence",
- "NotificationOccurrencesPage",
- "NotificationPolicy",
- "NotificationRoomUnreadCount",
- "NotificationSignal",
- "OAuthClient",
- "OauthClientPolicy",
- "OauthClientSource",
- "Page",
- "PendingExternalIdentity",
- "PermissionDecision",
- "PermissionScopeKind",
- "PinnedMessage",
- "PinnedMessagesPage",
- "PresencePreference",
- "PresenceStatus",
- "PrivilegedModeState",
- "ProviderMetadata",
- "ReadMarker",
- "Role",
- "Room",
- "RoomDirectoryScope",
- "RoomGroup",
- "RoomInvitation",
- "RoomInvitationStatus",
- "RoomKind",
- "RoomReadState",
- "RoomSummary",
- "RoomSuspension",
- "RoomThreadingMode",
- "RoomViewerState",
- "RoomWithViewerState",
- "SearchResultsPage",
- "SearchStatus",
- "ServerConfig",
- "ServerLogin",
- "ServerProfile",
- "ServerRuntimeConfig",
- "SidebarLink",
- "ThreadOrder",
- "ThreadReadState",
- "ThreadRootAuthorFilter",
- "ThreadSearchContext",
- "ThreadSummary",
- "ThreadViewerState",
- "TimeFormat",
- "TimelineEvent",
- "TimelinePage",
- "User",
- "UserSettings",
- "VerifiedEmail",
- "VideoProcessing",
- "VideoProcessingStatus",
- "VideoVariant",
- "ViewerUser",
- ]
|