linq-python 0.1.0__tar.gz → 0.2.0__tar.gz
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.
- linq_python-0.2.0/.release-please-manifest.json +3 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/CHANGELOG.md +8 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/PKG-INFO +1 -1
- {linq_python-0.1.0 → linq_python-0.2.0}/api.md +1 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/pyproject.toml +1 -1
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_version.py +1 -1
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/__init__.py +1 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/sent_message.py +3 -17
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message.py +4 -18
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/__init__.py +1 -0
- linq_python-0.2.0/src/linq/types/shared/link_part_response.py +22 -0
- linq_python-0.1.0/.release-please-manifest.json +0 -3
- {linq_python-0.1.0 → linq_python-0.2.0}/.gitignore +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/CONTRIBUTING.md +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/LICENSE +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/README.md +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/SECURITY.md +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/bin/check-release-environment +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/bin/publish-pypi +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/examples/.keep +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/release-please-config.json +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/requirements-dev.lock +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_base_client.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_client.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_compat.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_constants.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_exceptions.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_files.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_models.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_qs.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_resource.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_streaming.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_types.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/lib/.keep +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/pagination.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/py.typed +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/attachments.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/capability.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/chats/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/chats/chats.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/messages.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/webhook_events.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/webhook_subscriptions.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/resources/webhooks.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/attachment_create_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/attachment_retrieve_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_create_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_created_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_icon_update_failed_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_name_update_failed_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_name_updated_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_send_voicememo_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/events_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_add_reaction_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_content_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_delivered_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_edited_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_event_v2.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_failed_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_read_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_received_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_sent_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/participant_added_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/participant_removed_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/phone_number_list_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/phone_number_status_updated_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/reaction_added_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/reaction_event_base.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/reaction_removed_webhook_event.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/schemas_media_part_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/schemas_message_effect.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/schemas_text_part_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/chat_handle.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/supported_content_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_event_list_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_event_type.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/src/linq_api_v3/lib/.keep +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_messages.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/api_resources/test_webhooks.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/conftest.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/sample_file.txt +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_client.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_deepcopy.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_extract_files.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_files.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_models.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_qs.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_required_args.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_response.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_streaming.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_transform.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/tests/utils.py +0 -0
- {linq_python-0.1.0 → linq_python-0.2.0}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 (2026-04-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/linq-team/linq-python/compare/v0.1.0...v0.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** config cleanup ([6827b8f](https://github.com/linq-team/linq-python/commit/6827b8f725103369b7588c47daf86368f5f3f8f0))
|
|
10
|
+
|
|
3
11
|
## 0.1.0 (2026-04-01)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.0.1...v0.1.0](https://github.com/linq-team/linq-python/compare/v0.0.1...v0.1.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: The official Python library for the linq-api-v3 API
|
|
5
5
|
Project-URL: Homepage, https://github.com/linq-team/linq-python
|
|
6
6
|
Project-URL: Repository, https://github.com/linq-team/linq-python
|
|
@@ -7,29 +7,15 @@ from typing_extensions import Literal, TypeAlias
|
|
|
7
7
|
from ..._models import BaseModel
|
|
8
8
|
from ..reply_to import ReplyTo
|
|
9
9
|
from ..message_effect import MessageEffect
|
|
10
|
-
from ..shared.reaction import Reaction
|
|
11
10
|
from ..shared.chat_handle import ChatHandle
|
|
12
11
|
from ..shared.service_type import ServiceType
|
|
12
|
+
from ..shared.link_part_response import LinkPartResponse
|
|
13
13
|
from ..shared.text_part_response import TextPartResponse
|
|
14
14
|
from ..shared.media_part_response import MediaPartResponse
|
|
15
15
|
|
|
16
|
-
__all__ = ["SentMessage", "Part"
|
|
16
|
+
__all__ = ["SentMessage", "Part"]
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
class PartLinkPartResponse(BaseModel):
|
|
20
|
-
"""A rich link preview part"""
|
|
21
|
-
|
|
22
|
-
reactions: Optional[List[Reaction]] = None
|
|
23
|
-
"""Reactions on this message part"""
|
|
24
|
-
|
|
25
|
-
type: Literal["link"]
|
|
26
|
-
"""Indicates this is a rich link preview part"""
|
|
27
|
-
|
|
28
|
-
value: str
|
|
29
|
-
"""The URL"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Part: TypeAlias = Union[TextPartResponse, MediaPartResponse, PartLinkPartResponse]
|
|
18
|
+
Part: TypeAlias = Union[TextPartResponse, MediaPartResponse, LinkPartResponse]
|
|
33
19
|
|
|
34
20
|
|
|
35
21
|
class SentMessage(BaseModel):
|
|
@@ -2,36 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import List, Union, Optional
|
|
4
4
|
from datetime import datetime
|
|
5
|
-
from typing_extensions import
|
|
5
|
+
from typing_extensions import TypeAlias
|
|
6
6
|
|
|
7
7
|
from pydantic import Field as FieldInfo
|
|
8
8
|
|
|
9
9
|
from .._models import BaseModel
|
|
10
10
|
from .reply_to import ReplyTo
|
|
11
11
|
from .message_effect import MessageEffect
|
|
12
|
-
from .shared.reaction import Reaction
|
|
13
12
|
from .shared.chat_handle import ChatHandle
|
|
14
13
|
from .shared.service_type import ServiceType
|
|
14
|
+
from .shared.link_part_response import LinkPartResponse
|
|
15
15
|
from .shared.text_part_response import TextPartResponse
|
|
16
16
|
from .shared.media_part_response import MediaPartResponse
|
|
17
17
|
|
|
18
|
-
__all__ = ["Message", "Part"
|
|
18
|
+
__all__ = ["Message", "Part"]
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
class PartLinkPartResponse(BaseModel):
|
|
22
|
-
"""A rich link preview part"""
|
|
23
|
-
|
|
24
|
-
reactions: Optional[List[Reaction]] = None
|
|
25
|
-
"""Reactions on this message part"""
|
|
26
|
-
|
|
27
|
-
type: Literal["link"]
|
|
28
|
-
"""Indicates this is a rich link preview part"""
|
|
29
|
-
|
|
30
|
-
value: str
|
|
31
|
-
"""The URL"""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Part: TypeAlias = Union[TextPartResponse, MediaPartResponse, PartLinkPartResponse]
|
|
20
|
+
Part: TypeAlias = Union[TextPartResponse, MediaPartResponse, LinkPartResponse]
|
|
35
21
|
|
|
36
22
|
|
|
37
23
|
class Message(BaseModel):
|
|
@@ -5,5 +5,6 @@ from .chat_handle import ChatHandle as ChatHandle
|
|
|
5
5
|
from .service_type import ServiceType as ServiceType
|
|
6
6
|
from .reaction_type import ReactionType as ReactionType
|
|
7
7
|
from .text_decoration import TextDecoration as TextDecoration
|
|
8
|
+
from .link_part_response import LinkPartResponse as LinkPartResponse
|
|
8
9
|
from .text_part_response import TextPartResponse as TextPartResponse
|
|
9
10
|
from .media_part_response import MediaPartResponse as MediaPartResponse
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from .reaction import Reaction
|
|
7
|
+
from ..._models import BaseModel
|
|
8
|
+
|
|
9
|
+
__all__ = ["LinkPartResponse"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class LinkPartResponse(BaseModel):
|
|
13
|
+
"""A rich link preview part"""
|
|
14
|
+
|
|
15
|
+
reactions: Optional[List[Reaction]] = None
|
|
16
|
+
"""Reactions on this message part"""
|
|
17
|
+
|
|
18
|
+
type: Literal["link"]
|
|
19
|
+
"""Indicates this is a rich link preview part"""
|
|
20
|
+
|
|
21
|
+
value: str
|
|
22
|
+
"""The URL"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_icon_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/chat_group_name_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/message_list_messages_thread_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/phone_number_status_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_create_params.py
RENAMED
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_create_response.py
RENAMED
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_list_response.py
RENAMED
|
File without changes
|
{linq_python-0.1.0 → linq_python-0.2.0}/src/linq/types/webhook_subscription_update_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|