slack-api-sdk-apimatic 1.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- slack_api_sdk_apimatic-1.1.1.dist-info/METADATA +206 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/RECORD +433 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/WHEEL +5 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/licenses/LICENSE +28 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/top_level.txt +1 -0
- slackwebapi/__init__.py +13 -0
- slackwebapi/api_helper.py +19 -0
- slackwebapi/configuration.py +252 -0
- slackwebapi/controllers/__init__.py +61 -0
- slackwebapi/controllers/admin_apps_approved_controller.py +101 -0
- slackwebapi/controllers/admin_apps_controller.py +153 -0
- slackwebapi/controllers/admin_apps_requests_controller.py +96 -0
- slackwebapi/controllers/admin_apps_restricted_controller.py +101 -0
- slackwebapi/controllers/admin_conversations_controller.py +895 -0
- slackwebapi/controllers/admin_conversations_ekm_controller.py +107 -0
- slackwebapi/controllers/admin_conversations_restrict_access_controller.py +231 -0
- slackwebapi/controllers/admin_emoji_controller.py +314 -0
- slackwebapi/controllers/admin_invite_requests_approved_controller.py +97 -0
- slackwebapi/controllers/admin_invite_requests_controller.py +209 -0
- slackwebapi/controllers/admin_invite_requests_denied_controller.py +97 -0
- slackwebapi/controllers/admin_teams_admins_controller.py +96 -0
- slackwebapi/controllers/admin_teams_controller.py +158 -0
- slackwebapi/controllers/admin_teams_owners_controller.py +97 -0
- slackwebapi/controllers/admin_teams_settings_controller.py +367 -0
- slackwebapi/controllers/admin_usergroups_controller.py +282 -0
- slackwebapi/controllers/admin_users_controller.py +555 -0
- slackwebapi/controllers/admin_users_session_controller.py +151 -0
- slackwebapi/controllers/api_controller.py +84 -0
- slackwebapi/controllers/apps_controller.py +88 -0
- slackwebapi/controllers/apps_event_authorizations_controller.py +96 -0
- slackwebapi/controllers/apps_permissions_controller.py +142 -0
- slackwebapi/controllers/apps_permissions_resources_controller.py +94 -0
- slackwebapi/controllers/apps_permissions_scopes_controller.py +80 -0
- slackwebapi/controllers/apps_permissions_users_controller.py +158 -0
- slackwebapi/controllers/auth_controller.py +136 -0
- slackwebapi/controllers/base_controller.py +72 -0
- slackwebapi/controllers/bots_controller.py +85 -0
- slackwebapi/controllers/calls_controller.py +304 -0
- slackwebapi/controllers/calls_participants_controller.py +149 -0
- slackwebapi/controllers/chat_controller.py +896 -0
- slackwebapi/controllers/chat_scheduled_messages_controller.py +107 -0
- slackwebapi/controllers/conversations_controller.py +1217 -0
- slackwebapi/controllers/dialog_controller.py +93 -0
- slackwebapi/controllers/dnd_controller.py +294 -0
- slackwebapi/controllers/emoji_controller.py +79 -0
- slackwebapi/controllers/files_comments_controller.py +90 -0
- slackwebapi/controllers/files_controller.py +470 -0
- slackwebapi/controllers/files_remote_controller.py +440 -0
- slackwebapi/controllers/migration_controller.py +98 -0
- slackwebapi/controllers/oauth_authorization_controller.py +159 -0
- slackwebapi/controllers/oauth_controller.py +168 -0
- slackwebapi/controllers/oauth_v_2_controller.py +96 -0
- slackwebapi/controllers/pins_controller.py +203 -0
- slackwebapi/controllers/reactions_controller.py +334 -0
- slackwebapi/controllers/reminders_controller.py +315 -0
- slackwebapi/controllers/rtm_controller.py +93 -0
- slackwebapi/controllers/search_controller.py +114 -0
- slackwebapi/controllers/stars_controller.py +246 -0
- slackwebapi/controllers/team_controller.py +294 -0
- slackwebapi/controllers/team_profile_controller.py +84 -0
- slackwebapi/controllers/usergroups_controller.py +384 -0
- slackwebapi/controllers/usergroups_users_controller.py +161 -0
- slackwebapi/controllers/users_controller.py +639 -0
- slackwebapi/controllers/users_profile_controller.py +165 -0
- slackwebapi/controllers/views_controller.py +287 -0
- slackwebapi/controllers/workflows_controller.py +237 -0
- slackwebapi/exceptions/__init__.py +108 -0
- slackwebapi/exceptions/admin_conversations_archive_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_convert_to_private_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_create_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_delete_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_disconnect_shared_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_get_teams_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_invite_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_search_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_set_conversation_prefs_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_2_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_3_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_exception.py +56 -0
- slackwebapi/exceptions/api_exception.py +36 -0
- slackwebapi/exceptions/api_test_error_schema_exception.py +55 -0
- slackwebapi/exceptions/apps_permissions_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/apps_permissions_request_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_permissions_resources_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_permissions_scopes_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_uninstall_error_schema_exception.py +65 -0
- slackwebapi/exceptions/auth_revoke_error_schema_exception.py +65 -0
- slackwebapi/exceptions/auth_test_error_schema_exception.py +65 -0
- slackwebapi/exceptions/bots_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_delete_scheduled_message_error_schema_exception.py +66 -0
- slackwebapi/exceptions/chat_get_permalink_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_me_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_post_ephemeral_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_post_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_schedule_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_scheduled_messages_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/chat_unfurl_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_update_error_schema_exception.py +65 -0
- slackwebapi/exceptions/conversations_archive_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_close_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_create_error_schema_exception.py +95 -0
- slackwebapi/exceptions/conversations_history_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_info_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_invite_error_schema_1_exception.py +107 -0
- slackwebapi/exceptions/conversations_join_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_kick_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_leave_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_list_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_mark_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_members_error_schema_exception.py +66 -0
- slackwebapi/exceptions/conversations_open_error_schema_exception.py +65 -0
- slackwebapi/exceptions/conversations_rename_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_replies_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_set_purpose_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_set_topic_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_unarchive_error_schema_exception.py +86 -0
- slackwebapi/exceptions/default_error_template_exception.py +49 -0
- slackwebapi/exceptions/dialog_open_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_end_dnd_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_end_snooze_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_set_snooze_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_comments_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_revoke_public_url_error_schema_exception.py +66 -0
- slackwebapi/exceptions/files_shared_public_url_error_schema_exception.py +66 -0
- slackwebapi/exceptions/files_upload_error_schema_exception.py +65 -0
- slackwebapi/exceptions/migration_exchange_error_schema_exception.py +65 -0
- slackwebapi/exceptions/oauth_provider_exception.py +73 -0
- slackwebapi/exceptions/pins_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/pins_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/pins_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_complete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/rtm_connect_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_access_logs_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_integration_logs_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_profile_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_create_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_disable_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_enable_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_update_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_users_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_users_update_error_schema_exception.py +66 -0
- slackwebapi/exceptions/users_conversations_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_counts_error_schema_exception.py +55 -0
- slackwebapi/exceptions/users_delete_photo_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_identity_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_lookup_by_email_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_profile_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_profile_set_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_set_active_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_set_photo_error_schema_exception.py +95 -0
- slackwebapi/exceptions/users_set_presence_error_schema_exception.py +65 -0
- slackwebapi/http/__init__.py +11 -0
- slackwebapi/http/api_response.py +67 -0
- slackwebapi/http/auth/__init__.py +5 -0
- slackwebapi/http/auth/oauth_2.py +333 -0
- slackwebapi/http/http_call_back.py +20 -0
- slackwebapi/http/http_client_provider.py +23 -0
- slackwebapi/http/http_method_enum.py +25 -0
- slackwebapi/http/http_request.py +55 -0
- slackwebapi/http/http_response.py +45 -0
- slackwebapi/http/proxy_settings.py +50 -0
- slackwebapi/logging/__init__.py +6 -0
- slackwebapi/logging/configuration/__init__.py +5 -0
- slackwebapi/logging/configuration/api_logging_configuration.py +398 -0
- slackwebapi/logging/sdk_logger.py +28 -0
- slackwebapi/models/__init__.py +248 -0
- slackwebapi/models/admin_conversations_archive_schema.py +86 -0
- slackwebapi/models/admin_conversations_convert_to_private_schema.py +86 -0
- slackwebapi/models/admin_conversations_create_schema.py +112 -0
- slackwebapi/models/admin_conversations_delete_schema.py +86 -0
- slackwebapi/models/admin_conversations_get_conversation_prefs_schema.py +114 -0
- slackwebapi/models/admin_conversations_get_teams_schema.py +130 -0
- slackwebapi/models/admin_conversations_invite_schema.py +86 -0
- slackwebapi/models/admin_conversations_rename_schema.py +86 -0
- slackwebapi/models/admin_conversations_rename_schema_1.py +86 -0
- slackwebapi/models/admin_conversations_search_schema.py +111 -0
- slackwebapi/models/admin_conversations_set_conversation_prefs_schema.py +86 -0
- slackwebapi/models/admin_conversations_unarchive_schema.py +86 -0
- slackwebapi/models/api_method_users_get_presence.py +218 -0
- slackwebapi/models/api_permissions_scopes_list_success_schema.py +100 -0
- slackwebapi/models/api_test_success_schema.py +86 -0
- slackwebapi/models/app_home.py +131 -0
- slackwebapi/models/apps_permissions_info_schema.py +100 -0
- slackwebapi/models/apps_permissions_request_schema.py +86 -0
- slackwebapi/models/apps_permissions_resources_list_success_schema.py +133 -0
- slackwebapi/models/apps_uninstall_schema.py +86 -0
- slackwebapi/models/attachment.py +208 -0
- slackwebapi/models/auth_revoke_schema.py +99 -0
- slackwebapi/models/auth_test_success_schema.py +200 -0
- slackwebapi/models/block_kit_block.py +90 -0
- slackwebapi/models/bot.py +182 -0
- slackwebapi/models/bot_profile_object.py +169 -0
- slackwebapi/models/bots_info_schema.py +100 -0
- slackwebapi/models/can_thread.py +126 -0
- slackwebapi/models/channel.py +131 -0
- slackwebapi/models/channel_object.py +688 -0
- slackwebapi/models/chat_delete_scheduled_message_schema.py +86 -0
- slackwebapi/models/chat_delete_success_schema.py +112 -0
- slackwebapi/models/chat_get_permalink_success_schema.py +112 -0
- slackwebapi/models/chat_me_message_schema.py +135 -0
- slackwebapi/models/chat_post_ephemeral_success_schema.py +99 -0
- slackwebapi/models/chat_post_message_success_schema.py +128 -0
- slackwebapi/models/chat_schedule_message_success_schema.py +139 -0
- slackwebapi/models/chat_scheduled_messages_list_schema.py +122 -0
- slackwebapi/models/chat_unfurl_success_schema.py +86 -0
- slackwebapi/models/chat_update_success_schema.py +141 -0
- slackwebapi/models/conversations_archive_success_schema.py +86 -0
- slackwebapi/models/conversations_close_success_schema.py +135 -0
- slackwebapi/models/conversations_create_success_schema.py +99 -0
- slackwebapi/models/conversations_history_success_schema.py +157 -0
- slackwebapi/models/conversations_info_success_schema.py +99 -0
- slackwebapi/models/conversations_invite_error_schema.py +99 -0
- slackwebapi/models/conversations_join_success_schema.py +153 -0
- slackwebapi/models/conversations_kick_success_schema.py +86 -0
- slackwebapi/models/conversations_leave_success_schema.py +112 -0
- slackwebapi/models/conversations_list_success_schema.py +130 -0
- slackwebapi/models/conversations_mark_success_schema.py +86 -0
- slackwebapi/models/conversations_members_success_schema.py +116 -0
- slackwebapi/models/conversations_open_success_schema.py +149 -0
- slackwebapi/models/conversations_rename_success_schema.py +99 -0
- slackwebapi/models/conversations_replies_success_schema.py +125 -0
- slackwebapi/models/conversations_set_purpose_success_schema.py +99 -0
- slackwebapi/models/conversations_set_topic_success_schema.py +99 -0
- slackwebapi/models/conversations_unarchive_success_schema.py +86 -0
- slackwebapi/models/current.py +103 -0
- slackwebapi/models/default_success_template.py +87 -0
- slackwebapi/models/dialog_open_schema.py +86 -0
- slackwebapi/models/dnd_end_dnd_schema.py +86 -0
- slackwebapi/models/dnd_end_snooze_schema.py +138 -0
- slackwebapi/models/dnd_info_schema.py +197 -0
- slackwebapi/models/dnd_set_snooze_schema.py +125 -0
- slackwebapi/models/error.py +61 -0
- slackwebapi/models/error_1.py +64 -0
- slackwebapi/models/error_10.py +61 -0
- slackwebapi/models/error_11.py +61 -0
- slackwebapi/models/error_12.py +94 -0
- slackwebapi/models/error_13.py +106 -0
- slackwebapi/models/error_14.py +97 -0
- slackwebapi/models/error_16.py +103 -0
- slackwebapi/models/error_17.py +91 -0
- slackwebapi/models/error_18.py +79 -0
- slackwebapi/models/error_19.py +94 -0
- slackwebapi/models/error_2.py +61 -0
- slackwebapi/models/error_20.py +100 -0
- slackwebapi/models/error_21.py +106 -0
- slackwebapi/models/error_22.py +97 -0
- slackwebapi/models/error_23.py +109 -0
- slackwebapi/models/error_24.py +112 -0
- slackwebapi/models/error_25.py +85 -0
- slackwebapi/models/error_26.py +139 -0
- slackwebapi/models/error_27.py +100 -0
- slackwebapi/models/error_28.py +106 -0
- slackwebapi/models/error_29.py +112 -0
- slackwebapi/models/error_3.py +61 -0
- slackwebapi/models/error_30.py +115 -0
- slackwebapi/models/error_31.py +91 -0
- slackwebapi/models/error_32.py +115 -0
- slackwebapi/models/error_33.py +88 -0
- slackwebapi/models/error_34.py +85 -0
- slackwebapi/models/error_35.py +130 -0
- slackwebapi/models/error_37.py +106 -0
- slackwebapi/models/error_38.py +106 -0
- slackwebapi/models/error_39.py +112 -0
- slackwebapi/models/error_4.py +76 -0
- slackwebapi/models/error_40.py +79 -0
- slackwebapi/models/error_41.py +94 -0
- slackwebapi/models/error_42.py +91 -0
- slackwebapi/models/error_43.py +106 -0
- slackwebapi/models/error_44.py +112 -0
- slackwebapi/models/error_45.py +88 -0
- slackwebapi/models/error_46.py +100 -0
- slackwebapi/models/error_48.py +106 -0
- slackwebapi/models/error_49.py +118 -0
- slackwebapi/models/error_5.py +61 -0
- slackwebapi/models/error_50.py +97 -0
- slackwebapi/models/error_51.py +100 -0
- slackwebapi/models/error_52.py +94 -0
- slackwebapi/models/error_53.py +103 -0
- slackwebapi/models/error_54.py +85 -0
- slackwebapi/models/error_55.py +91 -0
- slackwebapi/models/error_56.py +91 -0
- slackwebapi/models/error_57.py +91 -0
- slackwebapi/models/error_58.py +100 -0
- slackwebapi/models/error_59.py +103 -0
- slackwebapi/models/error_6.py +61 -0
- slackwebapi/models/error_60.py +97 -0
- slackwebapi/models/error_61.py +97 -0
- slackwebapi/models/error_62.py +106 -0
- slackwebapi/models/error_63.py +85 -0
- slackwebapi/models/error_64.py +103 -0
- slackwebapi/models/error_65.py +103 -0
- slackwebapi/models/error_66.py +94 -0
- slackwebapi/models/error_67.py +88 -0
- slackwebapi/models/error_68.py +106 -0
- slackwebapi/models/error_69.py +112 -0
- slackwebapi/models/error_7.py +58 -0
- slackwebapi/models/error_70.py +103 -0
- slackwebapi/models/error_71.py +97 -0
- slackwebapi/models/error_74.py +88 -0
- slackwebapi/models/error_75.py +112 -0
- slackwebapi/models/error_77.py +112 -0
- slackwebapi/models/error_78.py +100 -0
- slackwebapi/models/error_8.py +58 -0
- slackwebapi/models/error_81.py +85 -0
- slackwebapi/models/error_82.py +100 -0
- slackwebapi/models/error_84.py +103 -0
- slackwebapi/models/error_86.py +106 -0
- slackwebapi/models/error_89.py +103 -0
- slackwebapi/models/error_9.py +67 -0
- slackwebapi/models/error_92.py +85 -0
- slackwebapi/models/error_93.py +91 -0
- slackwebapi/models/error_94.py +91 -0
- slackwebapi/models/error_95.py +97 -0
- slackwebapi/models/error_96.py +112 -0
- slackwebapi/models/error_97.py +91 -0
- slackwebapi/models/error_98.py +106 -0
- slackwebapi/models/error_99.py +94 -0
- slackwebapi/models/errors_is_returned_when_an_error_associates_an_user.py +124 -0
- slackwebapi/models/external_org_migrations.py +106 -0
- slackwebapi/models/file_comment_object.py +281 -0
- slackwebapi/models/file_object.py +1700 -0
- slackwebapi/models/files_comments_delete_schema.py +86 -0
- slackwebapi/models/files_delete_schema.py +86 -0
- slackwebapi/models/files_info_schema.py +216 -0
- slackwebapi/models/files_list_schema.py +118 -0
- slackwebapi/models/files_revoke_public_url_schema.py +100 -0
- slackwebapi/models/files_shared_public_url_schema.py +100 -0
- slackwebapi/models/files_upload_schema.py +100 -0
- slackwebapi/models/group.py +131 -0
- slackwebapi/models/icons.py +116 -0
- slackwebapi/models/icons_1.py +126 -0
- slackwebapi/models/im.py +131 -0
- slackwebapi/models/info.py +161 -0
- slackwebapi/models/log.py +263 -0
- slackwebapi/models/login.py +214 -0
- slackwebapi/models/message.py +195 -0
- slackwebapi/models/message_object.py +1035 -0
- slackwebapi/models/message_object_1.py +139 -0
- slackwebapi/models/migration_exchange_success_schema.py +161 -0
- slackwebapi/models/mpim.py +131 -0
- slackwebapi/models/mself.py +103 -0
- slackwebapi/models/mtype.py +55 -0
- slackwebapi/models/oauth_provider_error.py +67 -0
- slackwebapi/models/oauth_scope.py +240 -0
- slackwebapi/models/oauth_token.py +113 -0
- slackwebapi/models/objs_enterprise_user.py +155 -0
- slackwebapi/models/objs_icon.py +264 -0
- slackwebapi/models/objs_primary_owner.py +103 -0
- slackwebapi/models/objs_reminder.py +191 -0
- slackwebapi/models/objs_team_profile_field.py +242 -0
- slackwebapi/models/objs_team_profile_field_option.py +179 -0
- slackwebapi/models/objs_user_profile_short.py +247 -0
- slackwebapi/models/paging_object.py +198 -0
- slackwebapi/models/pins_add_schema.py +86 -0
- slackwebapi/models/pins_remove_schema.py +86 -0
- slackwebapi/models/plan.py +49 -0
- slackwebapi/models/prefs.py +103 -0
- slackwebapi/models/prefs_1.py +132 -0
- slackwebapi/models/profile.py +96 -0
- slackwebapi/models/profile_1.py +194 -0
- slackwebapi/models/purpose.py +116 -0
- slackwebapi/models/reaction_object.py +116 -0
- slackwebapi/models/reactions_add_schema.py +86 -0
- slackwebapi/models/reactions_list_schema.py +152 -0
- slackwebapi/models/reactions_remove_schema.py +86 -0
- slackwebapi/models/reminders_add_schema.py +102 -0
- slackwebapi/models/reminders_complete_schema.py +86 -0
- slackwebapi/models/reminders_delete_schema.py +86 -0
- slackwebapi/models/reminders_info_schema.py +102 -0
- slackwebapi/models/reminders_list_schema.py +104 -0
- slackwebapi/models/resource.py +126 -0
- slackwebapi/models/resources_in_info_from_apps_permissions_info.py +139 -0
- slackwebapi/models/response_metadata.py +90 -0
- slackwebapi/models/response_metadata_3.py +103 -0
- slackwebapi/models/rtm_connect_schema.py +127 -0
- slackwebapi/models/scheduled_message.py +155 -0
- slackwebapi/models/scopes.py +241 -0
- slackwebapi/models/shares.py +126 -0
- slackwebapi/models/sso_provider.py +149 -0
- slackwebapi/models/stars_add_schema.py +86 -0
- slackwebapi/models/stars_list_schema.py +129 -0
- slackwebapi/models/stars_remove_schema.py +86 -0
- slackwebapi/models/subteam_usergroup_object.py +384 -0
- slackwebapi/models/team.py +107 -0
- slackwebapi/models/team_1.py +116 -0
- slackwebapi/models/team_access_logs_schema.py +118 -0
- slackwebapi/models/team_info_schema.py +100 -0
- slackwebapi/models/team_integration_logs_schema.py +118 -0
- slackwebapi/models/team_object.py +715 -0
- slackwebapi/models/team_profile_get_success_schema.py +100 -0
- slackwebapi/models/topic.py +116 -0
- slackwebapi/models/user_profile_object.py +1005 -0
- slackwebapi/models/usergroups_create_schema.py +103 -0
- slackwebapi/models/usergroups_disable_schema.py +103 -0
- slackwebapi/models/usergroups_enable_schema.py +103 -0
- slackwebapi/models/usergroups_list_schema.py +105 -0
- slackwebapi/models/usergroups_update_schema.py +103 -0
- slackwebapi/models/usergroups_users_list_schema.py +99 -0
- slackwebapi/models/usergroups_users_update_schema.py +103 -0
- slackwebapi/models/users_conversations_success_schema.py +131 -0
- slackwebapi/models/users_delete_photo_schema.py +86 -0
- slackwebapi/models/users_info_success_schema.py +99 -0
- slackwebapi/models/users_list_schema.py +138 -0
- slackwebapi/models/users_lookup_by_email_success_schema.py +99 -0
- slackwebapi/models/users_profile_get_schema.py +102 -0
- slackwebapi/models/users_profile_set_schema.py +141 -0
- slackwebapi/models/users_set_active_schema.py +86 -0
- slackwebapi/models/users_set_photo_schema.py +100 -0
- slackwebapi/models/users_set_presence_schema.py +86 -0
- slackwebapi/models/who_can_post.py +126 -0
- slackwebapi/slackwebapi_client.py +522 -0
- slackwebapi/utilities/__init__.py +6 -0
- slackwebapi/utilities/file_wrapper.py +45 -0
|
@@ -0,0 +1,1035 @@
|
|
|
1
|
+
"""slackwebapi.
|
|
2
|
+
|
|
3
|
+
This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# ruff: noqa: E501
|
|
7
|
+
from slackwebapi.api_helper import APIHelper
|
|
8
|
+
from slackwebapi.models.attachment import Attachment
|
|
9
|
+
from slackwebapi.models.block_kit_block import (
|
|
10
|
+
BlockKitBlock,
|
|
11
|
+
)
|
|
12
|
+
from slackwebapi.models.bot_profile_object import (
|
|
13
|
+
BotProfileObject,
|
|
14
|
+
)
|
|
15
|
+
from slackwebapi.models.file_comment_object import (
|
|
16
|
+
FileCommentObject,
|
|
17
|
+
)
|
|
18
|
+
from slackwebapi.models.file_object import FileObject
|
|
19
|
+
from slackwebapi.models.icons_1 import Icons1
|
|
20
|
+
from slackwebapi.models.objs_user_profile_short import (
|
|
21
|
+
ObjsUserProfileShort,
|
|
22
|
+
)
|
|
23
|
+
from slackwebapi.models.reaction_object import (
|
|
24
|
+
ReactionObject,
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class MessageObject(object):
|
|
29
|
+
"""Implementation of the 'Message object' model.
|
|
30
|
+
|
|
31
|
+
Attributes:
|
|
32
|
+
attachments (List[Attachment]): The model property of type List[Attachment].
|
|
33
|
+
blocks (List[BlockKitBlock]): This is a very loose definition, in the future,
|
|
34
|
+
we'll populate this with deeper schema in this definition namespace.
|
|
35
|
+
bot_id (Any): The model property of type Any.
|
|
36
|
+
bot_profile (BotProfileObject): The model property of type BotProfileObject.
|
|
37
|
+
client_msg_id (str): The model property of type str.
|
|
38
|
+
comment (FileCommentObject): The model property of type FileCommentObject.
|
|
39
|
+
display_as_bot (bool): The model property of type bool.
|
|
40
|
+
file (FileObject): The model property of type FileObject.
|
|
41
|
+
files (List[FileObject]): The model property of type List[FileObject].
|
|
42
|
+
icons (Icons1): The model property of type Icons1.
|
|
43
|
+
inviter (str): The model property of type str.
|
|
44
|
+
is_delayed_message (bool): The model property of type bool.
|
|
45
|
+
is_intro (bool): The model property of type bool.
|
|
46
|
+
is_starred (bool): The model property of type bool.
|
|
47
|
+
last_read (str): The model property of type str.
|
|
48
|
+
latest_reply (str): The model property of type str.
|
|
49
|
+
name (str): The model property of type str.
|
|
50
|
+
old_name (str): The model property of type str.
|
|
51
|
+
parent_user_id (str): The model property of type str.
|
|
52
|
+
permalink (str): The model property of type str.
|
|
53
|
+
pinned_to (List[str]): The model property of type List[str].
|
|
54
|
+
purpose (str): The model property of type str.
|
|
55
|
+
reactions (List[ReactionObject]): The model property of type
|
|
56
|
+
List[ReactionObject].
|
|
57
|
+
reply_count (int): The model property of type int.
|
|
58
|
+
reply_users (List[str]): The model property of type List[str].
|
|
59
|
+
reply_users_count (int): The model property of type int.
|
|
60
|
+
source_team (str): The model property of type str.
|
|
61
|
+
subscribed (bool): The model property of type bool.
|
|
62
|
+
subtype (str): The model property of type str.
|
|
63
|
+
team (str): The model property of type str.
|
|
64
|
+
text (str): The model property of type str.
|
|
65
|
+
thread_ts (str): The model property of type str.
|
|
66
|
+
topic (str): The model property of type str.
|
|
67
|
+
ts (str): The model property of type str.
|
|
68
|
+
mtype (str): The model property of type str.
|
|
69
|
+
unread_count (int): The model property of type int.
|
|
70
|
+
upload (bool): The model property of type bool.
|
|
71
|
+
user (str): The model property of type str.
|
|
72
|
+
user_profile (ObjsUserProfileShort): The model property of type
|
|
73
|
+
ObjsUserProfileShort.
|
|
74
|
+
user_team (str): The model property of type str.
|
|
75
|
+
username (str): The model property of type str.
|
|
76
|
+
additional_properties (Dict[str, Any]): The additional properties for the
|
|
77
|
+
model.
|
|
78
|
+
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
# Create a mapping from Model property names to API property names
|
|
82
|
+
_names = {
|
|
83
|
+
"text": "text",
|
|
84
|
+
"ts": "ts",
|
|
85
|
+
"mtype": "type",
|
|
86
|
+
"attachments": "attachments",
|
|
87
|
+
"blocks": "blocks",
|
|
88
|
+
"bot_id": "bot_id",
|
|
89
|
+
"bot_profile": "bot_profile",
|
|
90
|
+
"client_msg_id": "client_msg_id",
|
|
91
|
+
"comment": "comment",
|
|
92
|
+
"display_as_bot": "display_as_bot",
|
|
93
|
+
"file": "file",
|
|
94
|
+
"files": "files",
|
|
95
|
+
"icons": "icons",
|
|
96
|
+
"inviter": "inviter",
|
|
97
|
+
"is_delayed_message": "is_delayed_message",
|
|
98
|
+
"is_intro": "is_intro",
|
|
99
|
+
"is_starred": "is_starred",
|
|
100
|
+
"last_read": "last_read",
|
|
101
|
+
"latest_reply": "latest_reply",
|
|
102
|
+
"name": "name",
|
|
103
|
+
"old_name": "old_name",
|
|
104
|
+
"parent_user_id": "parent_user_id",
|
|
105
|
+
"permalink": "permalink",
|
|
106
|
+
"pinned_to": "pinned_to",
|
|
107
|
+
"purpose": "purpose",
|
|
108
|
+
"reactions": "reactions",
|
|
109
|
+
"reply_count": "reply_count",
|
|
110
|
+
"reply_users": "reply_users",
|
|
111
|
+
"reply_users_count": "reply_users_count",
|
|
112
|
+
"source_team": "source_team",
|
|
113
|
+
"subscribed": "subscribed",
|
|
114
|
+
"subtype": "subtype",
|
|
115
|
+
"team": "team",
|
|
116
|
+
"thread_ts": "thread_ts",
|
|
117
|
+
"topic": "topic",
|
|
118
|
+
"unread_count": "unread_count",
|
|
119
|
+
"upload": "upload",
|
|
120
|
+
"user": "user",
|
|
121
|
+
"user_profile": "user_profile",
|
|
122
|
+
"user_team": "user_team",
|
|
123
|
+
"username": "username",
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
_optionals = [
|
|
127
|
+
"attachments",
|
|
128
|
+
"blocks",
|
|
129
|
+
"bot_id",
|
|
130
|
+
"bot_profile",
|
|
131
|
+
"client_msg_id",
|
|
132
|
+
"comment",
|
|
133
|
+
"display_as_bot",
|
|
134
|
+
"file",
|
|
135
|
+
"files",
|
|
136
|
+
"icons",
|
|
137
|
+
"inviter",
|
|
138
|
+
"is_delayed_message",
|
|
139
|
+
"is_intro",
|
|
140
|
+
"is_starred",
|
|
141
|
+
"last_read",
|
|
142
|
+
"latest_reply",
|
|
143
|
+
"name",
|
|
144
|
+
"old_name",
|
|
145
|
+
"parent_user_id",
|
|
146
|
+
"permalink",
|
|
147
|
+
"pinned_to",
|
|
148
|
+
"purpose",
|
|
149
|
+
"reactions",
|
|
150
|
+
"reply_count",
|
|
151
|
+
"reply_users",
|
|
152
|
+
"reply_users_count",
|
|
153
|
+
"source_team",
|
|
154
|
+
"subscribed",
|
|
155
|
+
"subtype",
|
|
156
|
+
"team",
|
|
157
|
+
"thread_ts",
|
|
158
|
+
"topic",
|
|
159
|
+
"unread_count",
|
|
160
|
+
"upload",
|
|
161
|
+
"user",
|
|
162
|
+
"user_profile",
|
|
163
|
+
"user_team",
|
|
164
|
+
"username",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
def __init__(
|
|
168
|
+
self,
|
|
169
|
+
text=None,
|
|
170
|
+
ts=None,
|
|
171
|
+
mtype=None,
|
|
172
|
+
attachments=APIHelper.SKIP,
|
|
173
|
+
blocks=APIHelper.SKIP,
|
|
174
|
+
bot_id=APIHelper.SKIP,
|
|
175
|
+
bot_profile=APIHelper.SKIP,
|
|
176
|
+
client_msg_id=APIHelper.SKIP,
|
|
177
|
+
comment=APIHelper.SKIP,
|
|
178
|
+
display_as_bot=APIHelper.SKIP,
|
|
179
|
+
file=APIHelper.SKIP,
|
|
180
|
+
files=APIHelper.SKIP,
|
|
181
|
+
icons=APIHelper.SKIP,
|
|
182
|
+
inviter=APIHelper.SKIP,
|
|
183
|
+
is_delayed_message=APIHelper.SKIP,
|
|
184
|
+
is_intro=APIHelper.SKIP,
|
|
185
|
+
is_starred=APIHelper.SKIP,
|
|
186
|
+
last_read=APIHelper.SKIP,
|
|
187
|
+
latest_reply=APIHelper.SKIP,
|
|
188
|
+
name=APIHelper.SKIP,
|
|
189
|
+
old_name=APIHelper.SKIP,
|
|
190
|
+
parent_user_id=APIHelper.SKIP,
|
|
191
|
+
permalink=APIHelper.SKIP,
|
|
192
|
+
pinned_to=APIHelper.SKIP,
|
|
193
|
+
purpose=APIHelper.SKIP,
|
|
194
|
+
reactions=APIHelper.SKIP,
|
|
195
|
+
reply_count=APIHelper.SKIP,
|
|
196
|
+
reply_users=APIHelper.SKIP,
|
|
197
|
+
reply_users_count=APIHelper.SKIP,
|
|
198
|
+
source_team=APIHelper.SKIP,
|
|
199
|
+
subscribed=APIHelper.SKIP,
|
|
200
|
+
subtype=APIHelper.SKIP,
|
|
201
|
+
team=APIHelper.SKIP,
|
|
202
|
+
thread_ts=APIHelper.SKIP,
|
|
203
|
+
topic=APIHelper.SKIP,
|
|
204
|
+
unread_count=APIHelper.SKIP,
|
|
205
|
+
upload=APIHelper.SKIP,
|
|
206
|
+
user=APIHelper.SKIP,
|
|
207
|
+
user_profile=APIHelper.SKIP,
|
|
208
|
+
user_team=APIHelper.SKIP,
|
|
209
|
+
username=APIHelper.SKIP,
|
|
210
|
+
additional_properties=None):
|
|
211
|
+
"""Initialize a MessageObject instance."""
|
|
212
|
+
# Initialize members of the class
|
|
213
|
+
if attachments is not APIHelper.SKIP:
|
|
214
|
+
self.attachments = attachments
|
|
215
|
+
if blocks is not APIHelper.SKIP:
|
|
216
|
+
self.blocks = blocks
|
|
217
|
+
if bot_id is not APIHelper.SKIP:
|
|
218
|
+
self.bot_id = bot_id
|
|
219
|
+
if bot_profile is not APIHelper.SKIP:
|
|
220
|
+
self.bot_profile = bot_profile
|
|
221
|
+
if client_msg_id is not APIHelper.SKIP:
|
|
222
|
+
self.client_msg_id = client_msg_id
|
|
223
|
+
if comment is not APIHelper.SKIP:
|
|
224
|
+
self.comment = comment
|
|
225
|
+
if display_as_bot is not APIHelper.SKIP:
|
|
226
|
+
self.display_as_bot = display_as_bot
|
|
227
|
+
if file is not APIHelper.SKIP:
|
|
228
|
+
self.file = file
|
|
229
|
+
if files is not APIHelper.SKIP:
|
|
230
|
+
self.files = files
|
|
231
|
+
if icons is not APIHelper.SKIP:
|
|
232
|
+
self.icons = icons
|
|
233
|
+
if inviter is not APIHelper.SKIP:
|
|
234
|
+
self.inviter = inviter
|
|
235
|
+
if is_delayed_message is not APIHelper.SKIP:
|
|
236
|
+
self.is_delayed_message = is_delayed_message
|
|
237
|
+
if is_intro is not APIHelper.SKIP:
|
|
238
|
+
self.is_intro = is_intro
|
|
239
|
+
if is_starred is not APIHelper.SKIP:
|
|
240
|
+
self.is_starred = is_starred
|
|
241
|
+
if last_read is not APIHelper.SKIP:
|
|
242
|
+
self.last_read = last_read
|
|
243
|
+
if latest_reply is not APIHelper.SKIP:
|
|
244
|
+
self.latest_reply = latest_reply
|
|
245
|
+
if name is not APIHelper.SKIP:
|
|
246
|
+
self.name = name
|
|
247
|
+
if old_name is not APIHelper.SKIP:
|
|
248
|
+
self.old_name = old_name
|
|
249
|
+
if parent_user_id is not APIHelper.SKIP:
|
|
250
|
+
self.parent_user_id = parent_user_id
|
|
251
|
+
if permalink is not APIHelper.SKIP:
|
|
252
|
+
self.permalink = permalink
|
|
253
|
+
if pinned_to is not APIHelper.SKIP:
|
|
254
|
+
self.pinned_to = pinned_to
|
|
255
|
+
if purpose is not APIHelper.SKIP:
|
|
256
|
+
self.purpose = purpose
|
|
257
|
+
if reactions is not APIHelper.SKIP:
|
|
258
|
+
self.reactions = reactions
|
|
259
|
+
if reply_count is not APIHelper.SKIP:
|
|
260
|
+
self.reply_count = reply_count
|
|
261
|
+
if reply_users is not APIHelper.SKIP:
|
|
262
|
+
self.reply_users = reply_users
|
|
263
|
+
if reply_users_count is not APIHelper.SKIP:
|
|
264
|
+
self.reply_users_count = reply_users_count
|
|
265
|
+
if source_team is not APIHelper.SKIP:
|
|
266
|
+
self.source_team = source_team
|
|
267
|
+
if subscribed is not APIHelper.SKIP:
|
|
268
|
+
self.subscribed = subscribed
|
|
269
|
+
if subtype is not APIHelper.SKIP:
|
|
270
|
+
self.subtype = subtype
|
|
271
|
+
if team is not APIHelper.SKIP:
|
|
272
|
+
self.team = team
|
|
273
|
+
self.text = text
|
|
274
|
+
if thread_ts is not APIHelper.SKIP:
|
|
275
|
+
self.thread_ts = thread_ts
|
|
276
|
+
if topic is not APIHelper.SKIP:
|
|
277
|
+
self.topic = topic
|
|
278
|
+
self.ts = ts
|
|
279
|
+
self.mtype = mtype
|
|
280
|
+
if unread_count is not APIHelper.SKIP:
|
|
281
|
+
self.unread_count = unread_count
|
|
282
|
+
if upload is not APIHelper.SKIP:
|
|
283
|
+
self.upload = upload
|
|
284
|
+
if user is not APIHelper.SKIP:
|
|
285
|
+
self.user = user
|
|
286
|
+
if user_profile is not APIHelper.SKIP:
|
|
287
|
+
self.user_profile = user_profile
|
|
288
|
+
if user_team is not APIHelper.SKIP:
|
|
289
|
+
self.user_team = user_team
|
|
290
|
+
if username is not APIHelper.SKIP:
|
|
291
|
+
self.username = username
|
|
292
|
+
|
|
293
|
+
# Add additional model properties to the instance
|
|
294
|
+
if additional_properties is None:
|
|
295
|
+
additional_properties = {}
|
|
296
|
+
self.additional_properties = additional_properties
|
|
297
|
+
|
|
298
|
+
@classmethod
|
|
299
|
+
def from_dictionary(cls,
|
|
300
|
+
dictionary):
|
|
301
|
+
"""Create an instance of this model from a dictionary
|
|
302
|
+
|
|
303
|
+
Args:
|
|
304
|
+
dictionary (dictionary): A dictionary representation of the object
|
|
305
|
+
as obtained from the deserialization of the server's response. The
|
|
306
|
+
keys MUST match property names in the API description.
|
|
307
|
+
|
|
308
|
+
Returns:
|
|
309
|
+
object: An instance of this structure class.
|
|
310
|
+
|
|
311
|
+
"""
|
|
312
|
+
if not isinstance(dictionary, dict) or dictionary is None:
|
|
313
|
+
return None
|
|
314
|
+
|
|
315
|
+
# Extract variables from the dictionary
|
|
316
|
+
text =\
|
|
317
|
+
dictionary.get("text")\
|
|
318
|
+
if dictionary.get("text")\
|
|
319
|
+
else None
|
|
320
|
+
ts =\
|
|
321
|
+
dictionary.get("ts")\
|
|
322
|
+
if dictionary.get("ts")\
|
|
323
|
+
else None
|
|
324
|
+
mtype =\
|
|
325
|
+
dictionary.get("type")\
|
|
326
|
+
if dictionary.get("type")\
|
|
327
|
+
else None
|
|
328
|
+
attachments = None
|
|
329
|
+
if dictionary.get("attachments") is not None:
|
|
330
|
+
attachments = [
|
|
331
|
+
Attachment.from_dictionary(x)
|
|
332
|
+
for x in dictionary.get("attachments")
|
|
333
|
+
]
|
|
334
|
+
else:
|
|
335
|
+
attachments = APIHelper.SKIP
|
|
336
|
+
blocks = None
|
|
337
|
+
if dictionary.get("blocks") is not None:
|
|
338
|
+
blocks = [
|
|
339
|
+
BlockKitBlock.from_dictionary(x)
|
|
340
|
+
for x in dictionary.get("blocks")
|
|
341
|
+
]
|
|
342
|
+
else:
|
|
343
|
+
blocks = APIHelper.SKIP
|
|
344
|
+
bot_id =\
|
|
345
|
+
dictionary.get("bot_id")\
|
|
346
|
+
if dictionary.get("bot_id")\
|
|
347
|
+
else APIHelper.SKIP
|
|
348
|
+
bot_profile =\
|
|
349
|
+
BotProfileObject.from_dictionary(
|
|
350
|
+
dictionary.get("bot_profile"))\
|
|
351
|
+
if "bot_profile" in dictionary.keys()\
|
|
352
|
+
else APIHelper.SKIP
|
|
353
|
+
client_msg_id =\
|
|
354
|
+
dictionary.get("client_msg_id")\
|
|
355
|
+
if dictionary.get("client_msg_id")\
|
|
356
|
+
else APIHelper.SKIP
|
|
357
|
+
comment =\
|
|
358
|
+
FileCommentObject.from_dictionary(
|
|
359
|
+
dictionary.get("comment"))\
|
|
360
|
+
if "comment" in dictionary.keys()\
|
|
361
|
+
else APIHelper.SKIP
|
|
362
|
+
display_as_bot =\
|
|
363
|
+
dictionary.get("display_as_bot")\
|
|
364
|
+
if "display_as_bot" in dictionary.keys()\
|
|
365
|
+
else APIHelper.SKIP
|
|
366
|
+
file =\
|
|
367
|
+
FileObject.from_dictionary(
|
|
368
|
+
dictionary.get("file"))\
|
|
369
|
+
if "file" in dictionary.keys()\
|
|
370
|
+
else APIHelper.SKIP
|
|
371
|
+
files = None
|
|
372
|
+
if dictionary.get("files") is not None:
|
|
373
|
+
files = [
|
|
374
|
+
FileObject.from_dictionary(x)
|
|
375
|
+
for x in dictionary.get("files")
|
|
376
|
+
]
|
|
377
|
+
else:
|
|
378
|
+
files = APIHelper.SKIP
|
|
379
|
+
icons =\
|
|
380
|
+
Icons1.from_dictionary(
|
|
381
|
+
dictionary.get("icons"))\
|
|
382
|
+
if "icons" in dictionary.keys()\
|
|
383
|
+
else APIHelper.SKIP
|
|
384
|
+
inviter =\
|
|
385
|
+
dictionary.get("inviter")\
|
|
386
|
+
if dictionary.get("inviter")\
|
|
387
|
+
else APIHelper.SKIP
|
|
388
|
+
is_delayed_message =\
|
|
389
|
+
dictionary.get("is_delayed_message")\
|
|
390
|
+
if "is_delayed_message" in dictionary.keys()\
|
|
391
|
+
else APIHelper.SKIP
|
|
392
|
+
is_intro =\
|
|
393
|
+
dictionary.get("is_intro")\
|
|
394
|
+
if "is_intro" in dictionary.keys()\
|
|
395
|
+
else APIHelper.SKIP
|
|
396
|
+
is_starred =\
|
|
397
|
+
dictionary.get("is_starred")\
|
|
398
|
+
if "is_starred" in dictionary.keys()\
|
|
399
|
+
else APIHelper.SKIP
|
|
400
|
+
last_read =\
|
|
401
|
+
dictionary.get("last_read")\
|
|
402
|
+
if dictionary.get("last_read")\
|
|
403
|
+
else APIHelper.SKIP
|
|
404
|
+
latest_reply =\
|
|
405
|
+
dictionary.get("latest_reply")\
|
|
406
|
+
if dictionary.get("latest_reply")\
|
|
407
|
+
else APIHelper.SKIP
|
|
408
|
+
name =\
|
|
409
|
+
dictionary.get("name")\
|
|
410
|
+
if dictionary.get("name")\
|
|
411
|
+
else APIHelper.SKIP
|
|
412
|
+
old_name =\
|
|
413
|
+
dictionary.get("old_name")\
|
|
414
|
+
if dictionary.get("old_name")\
|
|
415
|
+
else APIHelper.SKIP
|
|
416
|
+
parent_user_id =\
|
|
417
|
+
dictionary.get("parent_user_id")\
|
|
418
|
+
if dictionary.get("parent_user_id")\
|
|
419
|
+
else APIHelper.SKIP
|
|
420
|
+
permalink =\
|
|
421
|
+
dictionary.get("permalink")\
|
|
422
|
+
if dictionary.get("permalink")\
|
|
423
|
+
else APIHelper.SKIP
|
|
424
|
+
pinned_to =\
|
|
425
|
+
dictionary.get("pinned_to")\
|
|
426
|
+
if dictionary.get("pinned_to")\
|
|
427
|
+
else APIHelper.SKIP
|
|
428
|
+
purpose =\
|
|
429
|
+
dictionary.get("purpose")\
|
|
430
|
+
if dictionary.get("purpose")\
|
|
431
|
+
else APIHelper.SKIP
|
|
432
|
+
reactions = None
|
|
433
|
+
if dictionary.get("reactions") is not None:
|
|
434
|
+
reactions = [
|
|
435
|
+
ReactionObject.from_dictionary(x)
|
|
436
|
+
for x in dictionary.get("reactions")
|
|
437
|
+
]
|
|
438
|
+
else:
|
|
439
|
+
reactions = APIHelper.SKIP
|
|
440
|
+
reply_count =\
|
|
441
|
+
dictionary.get("reply_count")\
|
|
442
|
+
if dictionary.get("reply_count")\
|
|
443
|
+
else APIHelper.SKIP
|
|
444
|
+
reply_users =\
|
|
445
|
+
dictionary.get("reply_users")\
|
|
446
|
+
if dictionary.get("reply_users")\
|
|
447
|
+
else APIHelper.SKIP
|
|
448
|
+
reply_users_count =\
|
|
449
|
+
dictionary.get("reply_users_count")\
|
|
450
|
+
if dictionary.get("reply_users_count")\
|
|
451
|
+
else APIHelper.SKIP
|
|
452
|
+
source_team =\
|
|
453
|
+
dictionary.get("source_team")\
|
|
454
|
+
if dictionary.get("source_team")\
|
|
455
|
+
else APIHelper.SKIP
|
|
456
|
+
subscribed =\
|
|
457
|
+
dictionary.get("subscribed")\
|
|
458
|
+
if "subscribed" in dictionary.keys()\
|
|
459
|
+
else APIHelper.SKIP
|
|
460
|
+
subtype =\
|
|
461
|
+
dictionary.get("subtype")\
|
|
462
|
+
if dictionary.get("subtype")\
|
|
463
|
+
else APIHelper.SKIP
|
|
464
|
+
team =\
|
|
465
|
+
dictionary.get("team")\
|
|
466
|
+
if dictionary.get("team")\
|
|
467
|
+
else APIHelper.SKIP
|
|
468
|
+
thread_ts =\
|
|
469
|
+
dictionary.get("thread_ts")\
|
|
470
|
+
if dictionary.get("thread_ts")\
|
|
471
|
+
else APIHelper.SKIP
|
|
472
|
+
topic =\
|
|
473
|
+
dictionary.get("topic")\
|
|
474
|
+
if dictionary.get("topic")\
|
|
475
|
+
else APIHelper.SKIP
|
|
476
|
+
unread_count =\
|
|
477
|
+
dictionary.get("unread_count")\
|
|
478
|
+
if dictionary.get("unread_count")\
|
|
479
|
+
else APIHelper.SKIP
|
|
480
|
+
upload =\
|
|
481
|
+
dictionary.get("upload")\
|
|
482
|
+
if "upload" in dictionary.keys()\
|
|
483
|
+
else APIHelper.SKIP
|
|
484
|
+
user =\
|
|
485
|
+
dictionary.get("user")\
|
|
486
|
+
if dictionary.get("user")\
|
|
487
|
+
else APIHelper.SKIP
|
|
488
|
+
user_profile =\
|
|
489
|
+
ObjsUserProfileShort.from_dictionary(
|
|
490
|
+
dictionary.get("user_profile"))\
|
|
491
|
+
if "user_profile" in dictionary.keys()\
|
|
492
|
+
else APIHelper.SKIP
|
|
493
|
+
user_team =\
|
|
494
|
+
dictionary.get("user_team")\
|
|
495
|
+
if dictionary.get("user_team")\
|
|
496
|
+
else APIHelper.SKIP
|
|
497
|
+
username =\
|
|
498
|
+
dictionary.get("username")\
|
|
499
|
+
if dictionary.get("username")\
|
|
500
|
+
else APIHelper.SKIP
|
|
501
|
+
|
|
502
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
503
|
+
dictionary={k: v for k, v in dictionary.items()
|
|
504
|
+
if k not in cls._names.values()},
|
|
505
|
+
unboxing_function=lambda value: value)
|
|
506
|
+
|
|
507
|
+
# Return an object of this model
|
|
508
|
+
return cls(text,
|
|
509
|
+
ts,
|
|
510
|
+
mtype,
|
|
511
|
+
attachments,
|
|
512
|
+
blocks,
|
|
513
|
+
bot_id,
|
|
514
|
+
bot_profile,
|
|
515
|
+
client_msg_id,
|
|
516
|
+
comment,
|
|
517
|
+
display_as_bot,
|
|
518
|
+
file,
|
|
519
|
+
files,
|
|
520
|
+
icons,
|
|
521
|
+
inviter,
|
|
522
|
+
is_delayed_message,
|
|
523
|
+
is_intro,
|
|
524
|
+
is_starred,
|
|
525
|
+
last_read,
|
|
526
|
+
latest_reply,
|
|
527
|
+
name,
|
|
528
|
+
old_name,
|
|
529
|
+
parent_user_id,
|
|
530
|
+
permalink,
|
|
531
|
+
pinned_to,
|
|
532
|
+
purpose,
|
|
533
|
+
reactions,
|
|
534
|
+
reply_count,
|
|
535
|
+
reply_users,
|
|
536
|
+
reply_users_count,
|
|
537
|
+
source_team,
|
|
538
|
+
subscribed,
|
|
539
|
+
subtype,
|
|
540
|
+
team,
|
|
541
|
+
thread_ts,
|
|
542
|
+
topic,
|
|
543
|
+
unread_count,
|
|
544
|
+
upload,
|
|
545
|
+
user,
|
|
546
|
+
user_profile,
|
|
547
|
+
user_team,
|
|
548
|
+
username,
|
|
549
|
+
additional_properties)
|
|
550
|
+
|
|
551
|
+
def __repr__(self):
|
|
552
|
+
"""Return a unambiguous string representation."""
|
|
553
|
+
_attachments=(
|
|
554
|
+
self.attachments
|
|
555
|
+
if hasattr(self, "attachments")
|
|
556
|
+
else None
|
|
557
|
+
)
|
|
558
|
+
_blocks=(
|
|
559
|
+
self.blocks
|
|
560
|
+
if hasattr(self, "blocks")
|
|
561
|
+
else None
|
|
562
|
+
)
|
|
563
|
+
_bot_id=(
|
|
564
|
+
self.bot_id
|
|
565
|
+
if hasattr(self, "bot_id")
|
|
566
|
+
else None
|
|
567
|
+
)
|
|
568
|
+
_bot_profile=(
|
|
569
|
+
self.bot_profile
|
|
570
|
+
if hasattr(self, "bot_profile")
|
|
571
|
+
else None
|
|
572
|
+
)
|
|
573
|
+
_client_msg_id=(
|
|
574
|
+
self.client_msg_id
|
|
575
|
+
if hasattr(self, "client_msg_id")
|
|
576
|
+
else None
|
|
577
|
+
)
|
|
578
|
+
_comment=(
|
|
579
|
+
self.comment
|
|
580
|
+
if hasattr(self, "comment")
|
|
581
|
+
else None
|
|
582
|
+
)
|
|
583
|
+
_display_as_bot=(
|
|
584
|
+
self.display_as_bot
|
|
585
|
+
if hasattr(self, "display_as_bot")
|
|
586
|
+
else None
|
|
587
|
+
)
|
|
588
|
+
_file=(
|
|
589
|
+
self.file
|
|
590
|
+
if hasattr(self, "file")
|
|
591
|
+
else None
|
|
592
|
+
)
|
|
593
|
+
_files=(
|
|
594
|
+
self.files
|
|
595
|
+
if hasattr(self, "files")
|
|
596
|
+
else None
|
|
597
|
+
)
|
|
598
|
+
_icons=(
|
|
599
|
+
self.icons
|
|
600
|
+
if hasattr(self, "icons")
|
|
601
|
+
else None
|
|
602
|
+
)
|
|
603
|
+
_inviter=(
|
|
604
|
+
self.inviter
|
|
605
|
+
if hasattr(self, "inviter")
|
|
606
|
+
else None
|
|
607
|
+
)
|
|
608
|
+
_is_delayed_message=(
|
|
609
|
+
self.is_delayed_message
|
|
610
|
+
if hasattr(self, "is_delayed_message")
|
|
611
|
+
else None
|
|
612
|
+
)
|
|
613
|
+
_is_intro=(
|
|
614
|
+
self.is_intro
|
|
615
|
+
if hasattr(self, "is_intro")
|
|
616
|
+
else None
|
|
617
|
+
)
|
|
618
|
+
_is_starred=(
|
|
619
|
+
self.is_starred
|
|
620
|
+
if hasattr(self, "is_starred")
|
|
621
|
+
else None
|
|
622
|
+
)
|
|
623
|
+
_last_read=(
|
|
624
|
+
self.last_read
|
|
625
|
+
if hasattr(self, "last_read")
|
|
626
|
+
else None
|
|
627
|
+
)
|
|
628
|
+
_latest_reply=(
|
|
629
|
+
self.latest_reply
|
|
630
|
+
if hasattr(self, "latest_reply")
|
|
631
|
+
else None
|
|
632
|
+
)
|
|
633
|
+
_name=(
|
|
634
|
+
self.name
|
|
635
|
+
if hasattr(self, "name")
|
|
636
|
+
else None
|
|
637
|
+
)
|
|
638
|
+
_old_name=(
|
|
639
|
+
self.old_name
|
|
640
|
+
if hasattr(self, "old_name")
|
|
641
|
+
else None
|
|
642
|
+
)
|
|
643
|
+
_parent_user_id=(
|
|
644
|
+
self.parent_user_id
|
|
645
|
+
if hasattr(self, "parent_user_id")
|
|
646
|
+
else None
|
|
647
|
+
)
|
|
648
|
+
_permalink=(
|
|
649
|
+
self.permalink
|
|
650
|
+
if hasattr(self, "permalink")
|
|
651
|
+
else None
|
|
652
|
+
)
|
|
653
|
+
_pinned_to=(
|
|
654
|
+
self.pinned_to
|
|
655
|
+
if hasattr(self, "pinned_to")
|
|
656
|
+
else None
|
|
657
|
+
)
|
|
658
|
+
_purpose=(
|
|
659
|
+
self.purpose
|
|
660
|
+
if hasattr(self, "purpose")
|
|
661
|
+
else None
|
|
662
|
+
)
|
|
663
|
+
_reactions=(
|
|
664
|
+
self.reactions
|
|
665
|
+
if hasattr(self, "reactions")
|
|
666
|
+
else None
|
|
667
|
+
)
|
|
668
|
+
_reply_count=(
|
|
669
|
+
self.reply_count
|
|
670
|
+
if hasattr(self, "reply_count")
|
|
671
|
+
else None
|
|
672
|
+
)
|
|
673
|
+
_reply_users=(
|
|
674
|
+
self.reply_users
|
|
675
|
+
if hasattr(self, "reply_users")
|
|
676
|
+
else None
|
|
677
|
+
)
|
|
678
|
+
_reply_users_count=(
|
|
679
|
+
self.reply_users_count
|
|
680
|
+
if hasattr(self, "reply_users_count")
|
|
681
|
+
else None
|
|
682
|
+
)
|
|
683
|
+
_source_team=(
|
|
684
|
+
self.source_team
|
|
685
|
+
if hasattr(self, "source_team")
|
|
686
|
+
else None
|
|
687
|
+
)
|
|
688
|
+
_subscribed=(
|
|
689
|
+
self.subscribed
|
|
690
|
+
if hasattr(self, "subscribed")
|
|
691
|
+
else None
|
|
692
|
+
)
|
|
693
|
+
_subtype=(
|
|
694
|
+
self.subtype
|
|
695
|
+
if hasattr(self, "subtype")
|
|
696
|
+
else None
|
|
697
|
+
)
|
|
698
|
+
_team=(
|
|
699
|
+
self.team
|
|
700
|
+
if hasattr(self, "team")
|
|
701
|
+
else None
|
|
702
|
+
)
|
|
703
|
+
_text=self.text
|
|
704
|
+
_thread_ts=(
|
|
705
|
+
self.thread_ts
|
|
706
|
+
if hasattr(self, "thread_ts")
|
|
707
|
+
else None
|
|
708
|
+
)
|
|
709
|
+
_topic=(
|
|
710
|
+
self.topic
|
|
711
|
+
if hasattr(self, "topic")
|
|
712
|
+
else None
|
|
713
|
+
)
|
|
714
|
+
_ts=self.ts
|
|
715
|
+
_mtype=self.mtype
|
|
716
|
+
_unread_count=(
|
|
717
|
+
self.unread_count
|
|
718
|
+
if hasattr(self, "unread_count")
|
|
719
|
+
else None
|
|
720
|
+
)
|
|
721
|
+
_upload=(
|
|
722
|
+
self.upload
|
|
723
|
+
if hasattr(self, "upload")
|
|
724
|
+
else None
|
|
725
|
+
)
|
|
726
|
+
_user=(
|
|
727
|
+
self.user
|
|
728
|
+
if hasattr(self, "user")
|
|
729
|
+
else None
|
|
730
|
+
)
|
|
731
|
+
_user_profile=(
|
|
732
|
+
self.user_profile
|
|
733
|
+
if hasattr(self, "user_profile")
|
|
734
|
+
else None
|
|
735
|
+
)
|
|
736
|
+
_user_team=(
|
|
737
|
+
self.user_team
|
|
738
|
+
if hasattr(self, "user_team")
|
|
739
|
+
else None
|
|
740
|
+
)
|
|
741
|
+
_username=(
|
|
742
|
+
self.username
|
|
743
|
+
if hasattr(self, "username")
|
|
744
|
+
else None
|
|
745
|
+
)
|
|
746
|
+
_additional_properties=self.additional_properties
|
|
747
|
+
return (
|
|
748
|
+
f"{self.__class__.__name__}("
|
|
749
|
+
f"attachments={_attachments!r}, "
|
|
750
|
+
f"blocks={_blocks!r}, "
|
|
751
|
+
f"bot_id={_bot_id!r}, "
|
|
752
|
+
f"bot_profile={_bot_profile!r}, "
|
|
753
|
+
f"client_msg_id={_client_msg_id!r}, "
|
|
754
|
+
f"comment={_comment!r}, "
|
|
755
|
+
f"display_as_bot={_display_as_bot!r}, "
|
|
756
|
+
f"file={_file!r}, "
|
|
757
|
+
f"files={_files!r}, "
|
|
758
|
+
f"icons={_icons!r}, "
|
|
759
|
+
f"inviter={_inviter!r}, "
|
|
760
|
+
f"is_delayed_message={_is_delayed_message!r}, "
|
|
761
|
+
f"is_intro={_is_intro!r}, "
|
|
762
|
+
f"is_starred={_is_starred!r}, "
|
|
763
|
+
f"last_read={_last_read!r}, "
|
|
764
|
+
f"latest_reply={_latest_reply!r}, "
|
|
765
|
+
f"name={_name!r}, "
|
|
766
|
+
f"old_name={_old_name!r}, "
|
|
767
|
+
f"parent_user_id={_parent_user_id!r}, "
|
|
768
|
+
f"permalink={_permalink!r}, "
|
|
769
|
+
f"pinned_to={_pinned_to!r}, "
|
|
770
|
+
f"purpose={_purpose!r}, "
|
|
771
|
+
f"reactions={_reactions!r}, "
|
|
772
|
+
f"reply_count={_reply_count!r}, "
|
|
773
|
+
f"reply_users={_reply_users!r}, "
|
|
774
|
+
f"reply_users_count={_reply_users_count!r}, "
|
|
775
|
+
f"source_team={_source_team!r}, "
|
|
776
|
+
f"subscribed={_subscribed!r}, "
|
|
777
|
+
f"subtype={_subtype!r}, "
|
|
778
|
+
f"team={_team!r}, "
|
|
779
|
+
f"text={_text!r}, "
|
|
780
|
+
f"thread_ts={_thread_ts!r}, "
|
|
781
|
+
f"topic={_topic!r}, "
|
|
782
|
+
f"ts={_ts!r}, "
|
|
783
|
+
f"mtype={_mtype!r}, "
|
|
784
|
+
f"unread_count={_unread_count!r}, "
|
|
785
|
+
f"upload={_upload!r}, "
|
|
786
|
+
f"user={_user!r}, "
|
|
787
|
+
f"user_profile={_user_profile!r}, "
|
|
788
|
+
f"user_team={_user_team!r}, "
|
|
789
|
+
f"username={_username!r}, "
|
|
790
|
+
f"additional_properties={_additional_properties!r}, "
|
|
791
|
+
f")"
|
|
792
|
+
)
|
|
793
|
+
|
|
794
|
+
def __str__(self):
|
|
795
|
+
"""Return a human-readable string representation."""
|
|
796
|
+
_attachments=(
|
|
797
|
+
self.attachments
|
|
798
|
+
if hasattr(self, "attachments")
|
|
799
|
+
else None
|
|
800
|
+
)
|
|
801
|
+
_blocks=(
|
|
802
|
+
self.blocks
|
|
803
|
+
if hasattr(self, "blocks")
|
|
804
|
+
else None
|
|
805
|
+
)
|
|
806
|
+
_bot_id=(
|
|
807
|
+
self.bot_id
|
|
808
|
+
if hasattr(self, "bot_id")
|
|
809
|
+
else None
|
|
810
|
+
)
|
|
811
|
+
_bot_profile=(
|
|
812
|
+
self.bot_profile
|
|
813
|
+
if hasattr(self, "bot_profile")
|
|
814
|
+
else None
|
|
815
|
+
)
|
|
816
|
+
_client_msg_id=(
|
|
817
|
+
self.client_msg_id
|
|
818
|
+
if hasattr(self, "client_msg_id")
|
|
819
|
+
else None
|
|
820
|
+
)
|
|
821
|
+
_comment=(
|
|
822
|
+
self.comment
|
|
823
|
+
if hasattr(self, "comment")
|
|
824
|
+
else None
|
|
825
|
+
)
|
|
826
|
+
_display_as_bot=(
|
|
827
|
+
self.display_as_bot
|
|
828
|
+
if hasattr(self, "display_as_bot")
|
|
829
|
+
else None
|
|
830
|
+
)
|
|
831
|
+
_file=(
|
|
832
|
+
self.file
|
|
833
|
+
if hasattr(self, "file")
|
|
834
|
+
else None
|
|
835
|
+
)
|
|
836
|
+
_files=(
|
|
837
|
+
self.files
|
|
838
|
+
if hasattr(self, "files")
|
|
839
|
+
else None
|
|
840
|
+
)
|
|
841
|
+
_icons=(
|
|
842
|
+
self.icons
|
|
843
|
+
if hasattr(self, "icons")
|
|
844
|
+
else None
|
|
845
|
+
)
|
|
846
|
+
_inviter=(
|
|
847
|
+
self.inviter
|
|
848
|
+
if hasattr(self, "inviter")
|
|
849
|
+
else None
|
|
850
|
+
)
|
|
851
|
+
_is_delayed_message=(
|
|
852
|
+
self.is_delayed_message
|
|
853
|
+
if hasattr(self, "is_delayed_message")
|
|
854
|
+
else None
|
|
855
|
+
)
|
|
856
|
+
_is_intro=(
|
|
857
|
+
self.is_intro
|
|
858
|
+
if hasattr(self, "is_intro")
|
|
859
|
+
else None
|
|
860
|
+
)
|
|
861
|
+
_is_starred=(
|
|
862
|
+
self.is_starred
|
|
863
|
+
if hasattr(self, "is_starred")
|
|
864
|
+
else None
|
|
865
|
+
)
|
|
866
|
+
_last_read=(
|
|
867
|
+
self.last_read
|
|
868
|
+
if hasattr(self, "last_read")
|
|
869
|
+
else None
|
|
870
|
+
)
|
|
871
|
+
_latest_reply=(
|
|
872
|
+
self.latest_reply
|
|
873
|
+
if hasattr(self, "latest_reply")
|
|
874
|
+
else None
|
|
875
|
+
)
|
|
876
|
+
_name=(
|
|
877
|
+
self.name
|
|
878
|
+
if hasattr(self, "name")
|
|
879
|
+
else None
|
|
880
|
+
)
|
|
881
|
+
_old_name=(
|
|
882
|
+
self.old_name
|
|
883
|
+
if hasattr(self, "old_name")
|
|
884
|
+
else None
|
|
885
|
+
)
|
|
886
|
+
_parent_user_id=(
|
|
887
|
+
self.parent_user_id
|
|
888
|
+
if hasattr(self, "parent_user_id")
|
|
889
|
+
else None
|
|
890
|
+
)
|
|
891
|
+
_permalink=(
|
|
892
|
+
self.permalink
|
|
893
|
+
if hasattr(self, "permalink")
|
|
894
|
+
else None
|
|
895
|
+
)
|
|
896
|
+
_pinned_to=(
|
|
897
|
+
self.pinned_to
|
|
898
|
+
if hasattr(self, "pinned_to")
|
|
899
|
+
else None
|
|
900
|
+
)
|
|
901
|
+
_purpose=(
|
|
902
|
+
self.purpose
|
|
903
|
+
if hasattr(self, "purpose")
|
|
904
|
+
else None
|
|
905
|
+
)
|
|
906
|
+
_reactions=(
|
|
907
|
+
self.reactions
|
|
908
|
+
if hasattr(self, "reactions")
|
|
909
|
+
else None
|
|
910
|
+
)
|
|
911
|
+
_reply_count=(
|
|
912
|
+
self.reply_count
|
|
913
|
+
if hasattr(self, "reply_count")
|
|
914
|
+
else None
|
|
915
|
+
)
|
|
916
|
+
_reply_users=(
|
|
917
|
+
self.reply_users
|
|
918
|
+
if hasattr(self, "reply_users")
|
|
919
|
+
else None
|
|
920
|
+
)
|
|
921
|
+
_reply_users_count=(
|
|
922
|
+
self.reply_users_count
|
|
923
|
+
if hasattr(self, "reply_users_count")
|
|
924
|
+
else None
|
|
925
|
+
)
|
|
926
|
+
_source_team=(
|
|
927
|
+
self.source_team
|
|
928
|
+
if hasattr(self, "source_team")
|
|
929
|
+
else None
|
|
930
|
+
)
|
|
931
|
+
_subscribed=(
|
|
932
|
+
self.subscribed
|
|
933
|
+
if hasattr(self, "subscribed")
|
|
934
|
+
else None
|
|
935
|
+
)
|
|
936
|
+
_subtype=(
|
|
937
|
+
self.subtype
|
|
938
|
+
if hasattr(self, "subtype")
|
|
939
|
+
else None
|
|
940
|
+
)
|
|
941
|
+
_team=(
|
|
942
|
+
self.team
|
|
943
|
+
if hasattr(self, "team")
|
|
944
|
+
else None
|
|
945
|
+
)
|
|
946
|
+
_text=self.text
|
|
947
|
+
_thread_ts=(
|
|
948
|
+
self.thread_ts
|
|
949
|
+
if hasattr(self, "thread_ts")
|
|
950
|
+
else None
|
|
951
|
+
)
|
|
952
|
+
_topic=(
|
|
953
|
+
self.topic
|
|
954
|
+
if hasattr(self, "topic")
|
|
955
|
+
else None
|
|
956
|
+
)
|
|
957
|
+
_ts=self.ts
|
|
958
|
+
_mtype=self.mtype
|
|
959
|
+
_unread_count=(
|
|
960
|
+
self.unread_count
|
|
961
|
+
if hasattr(self, "unread_count")
|
|
962
|
+
else None
|
|
963
|
+
)
|
|
964
|
+
_upload=(
|
|
965
|
+
self.upload
|
|
966
|
+
if hasattr(self, "upload")
|
|
967
|
+
else None
|
|
968
|
+
)
|
|
969
|
+
_user=(
|
|
970
|
+
self.user
|
|
971
|
+
if hasattr(self, "user")
|
|
972
|
+
else None
|
|
973
|
+
)
|
|
974
|
+
_user_profile=(
|
|
975
|
+
self.user_profile
|
|
976
|
+
if hasattr(self, "user_profile")
|
|
977
|
+
else None
|
|
978
|
+
)
|
|
979
|
+
_user_team=(
|
|
980
|
+
self.user_team
|
|
981
|
+
if hasattr(self, "user_team")
|
|
982
|
+
else None
|
|
983
|
+
)
|
|
984
|
+
_username=(
|
|
985
|
+
self.username
|
|
986
|
+
if hasattr(self, "username")
|
|
987
|
+
else None
|
|
988
|
+
)
|
|
989
|
+
_additional_properties=self.additional_properties
|
|
990
|
+
return (
|
|
991
|
+
f"{self.__class__.__name__}("
|
|
992
|
+
f"attachments={_attachments!s}, "
|
|
993
|
+
f"blocks={_blocks!s}, "
|
|
994
|
+
f"bot_id={_bot_id!s}, "
|
|
995
|
+
f"bot_profile={_bot_profile!s}, "
|
|
996
|
+
f"client_msg_id={_client_msg_id!s}, "
|
|
997
|
+
f"comment={_comment!s}, "
|
|
998
|
+
f"display_as_bot={_display_as_bot!s}, "
|
|
999
|
+
f"file={_file!s}, "
|
|
1000
|
+
f"files={_files!s}, "
|
|
1001
|
+
f"icons={_icons!s}, "
|
|
1002
|
+
f"inviter={_inviter!s}, "
|
|
1003
|
+
f"is_delayed_message={_is_delayed_message!s}, "
|
|
1004
|
+
f"is_intro={_is_intro!s}, "
|
|
1005
|
+
f"is_starred={_is_starred!s}, "
|
|
1006
|
+
f"last_read={_last_read!s}, "
|
|
1007
|
+
f"latest_reply={_latest_reply!s}, "
|
|
1008
|
+
f"name={_name!s}, "
|
|
1009
|
+
f"old_name={_old_name!s}, "
|
|
1010
|
+
f"parent_user_id={_parent_user_id!s}, "
|
|
1011
|
+
f"permalink={_permalink!s}, "
|
|
1012
|
+
f"pinned_to={_pinned_to!s}, "
|
|
1013
|
+
f"purpose={_purpose!s}, "
|
|
1014
|
+
f"reactions={_reactions!s}, "
|
|
1015
|
+
f"reply_count={_reply_count!s}, "
|
|
1016
|
+
f"reply_users={_reply_users!s}, "
|
|
1017
|
+
f"reply_users_count={_reply_users_count!s}, "
|
|
1018
|
+
f"source_team={_source_team!s}, "
|
|
1019
|
+
f"subscribed={_subscribed!s}, "
|
|
1020
|
+
f"subtype={_subtype!s}, "
|
|
1021
|
+
f"team={_team!s}, "
|
|
1022
|
+
f"text={_text!s}, "
|
|
1023
|
+
f"thread_ts={_thread_ts!s}, "
|
|
1024
|
+
f"topic={_topic!s}, "
|
|
1025
|
+
f"ts={_ts!s}, "
|
|
1026
|
+
f"mtype={_mtype!s}, "
|
|
1027
|
+
f"unread_count={_unread_count!s}, "
|
|
1028
|
+
f"upload={_upload!s}, "
|
|
1029
|
+
f"user={_user!s}, "
|
|
1030
|
+
f"user_profile={_user_profile!s}, "
|
|
1031
|
+
f"user_team={_user_team!s}, "
|
|
1032
|
+
f"username={_username!s}, "
|
|
1033
|
+
f"additional_properties={_additional_properties!s}, "
|
|
1034
|
+
f")"
|
|
1035
|
+
)
|