linq-python 0.51.1__tar.gz → 0.52.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.52.0/.release-please-manifest.json +3 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/CHANGELOG.md +14 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/PKG-INFO +1 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/pyproject.toml +1 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_version.py +1 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/messages/messages.py +54 -12
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_create_response.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_created_webhook_event.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_send_voicememo_response.py +12 -2
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/sent_message.py +12 -2
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message.py +12 -2
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_add_reaction_params.py +22 -5
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_content_param.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_create_response.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_event_v2.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_failed_webhook_event.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reaction_event_base.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/chat_handle.py +6 -1
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_messages.py +2 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/uv.lock +1 -1
- linq_python-0.51.1/.release-please-manifest.json +0 -3
- {linq_python-0.51.1 → linq_python-0.52.0}/.gitignore +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/CONTRIBUTING.md +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/LICENSE +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/README.md +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/SECURITY.md +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/api.md +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/bin/check-release-environment +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/bin/publish-pypi +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/examples/.keep +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/release-please-config.json +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/requirements-dev.lock +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_base_client.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_client.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_compat.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_constants.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_exceptions.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_files.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_models.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_qs.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_resource.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_streaming.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_types.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/lib/.keep +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/pagination.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/py.typed +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/attachments.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/available_number.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/blocked_handles.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/capability.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/background.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/chats.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/location.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/polls.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/experiences.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/messages/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/messages/poll.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/payment_handles.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/payment_providers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/payment_requests.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/payments.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/webhook_events.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/webhook_subscriptions.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/resources/webhooks.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/attachment_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/attachment_retrieve_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/available_number_retrieve_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/available_number_retrieve_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/blocked_handle_block_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/blocked_handle_block_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/blocked_handle_entry.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/blocked_handle_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/blocked_handle_unblock_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_background_update_failed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_background_updated_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_group_icon_update_failed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_group_name_update_failed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_group_name_updated_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/background_set_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/get_chat_location_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/location_request_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/location_stop_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/poll.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/poll_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/poll_envelope.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/chats/stop_chat_location_sharing_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/connection_created_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/connection_revoked_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/contact_card_received_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/experience_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/experience_retrieve_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/location_sharing_started_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/location_sharing_stopped_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_delivered_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_edited_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_read_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_received_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_sent_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_update_app_card_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_update_app_card_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_update_sticker_placement_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/message_update_sticker_placement_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/messages/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/messages/poll_add_options_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/messages/poll_vote_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/participant_added_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/participant_removed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_authorized_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_canceled_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_credentials_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_declined_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_expired_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_handle_connection.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_handle_verify_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_provider.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_provider_connect_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_provider_connect_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_request.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_request_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_request_list_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_request_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/payment_succeeded_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/phone_number_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/phone_number_status_updated_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/phone_number_update_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/phone_number_update_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_delivered_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_failed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_reaction_added_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_read_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_received_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_sent_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_updated_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_vote_added_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/poll_vote_removed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reaction_added_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reaction_removed_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_action_item.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_audit.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_audit_started.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_driver.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_driver_key.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_evidence.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_opt_out_chat.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_report.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/reputation_unhealthy_chat.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/schemas_media_part_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/schemas_message_effect.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/schemas_text_part_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/link_part_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/supported_content_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/unwrap_webhook_event.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_event_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_event_type.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_background.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_location.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_polls.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/messages/__init__.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/messages/test_poll.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_available_number.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_blocked_handles.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_experiences.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_payment_handles.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_payment_providers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_payment_requests.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_payments.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/api_resources/test_webhooks.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/conftest.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/sample_file.txt +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_client.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_extract_files.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_files.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_models.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_qs.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_required_args.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_response.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_streaming.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_transform.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.51.1 → linq_python-0.52.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.52.0](https://github.com/linq-team/linq-python/compare/v0.51.2...v0.52.0) (2026-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add emoji sticker support alongside url and attachment_id ([824aba6](https://github.com/linq-team/linq-python/commit/824aba6a0b71e7eae3ef71f3650a78eb5238c0e8))
|
|
9
|
+
|
|
10
|
+
## [0.51.2](https://github.com/linq-team/linq-python/compare/v0.51.1...v0.51.2) (2026-09-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Documentation
|
|
14
|
+
|
|
15
|
+
* clarify message service transport semantics ([df61742](https://github.com/linq-team/linq-python/commit/df617427fe0e82877283121f09b015dc356a772a))
|
|
16
|
+
|
|
3
17
|
## [0.51.1](https://github.com/linq-team/linq-python/compare/v0.51.0...v0.51.1) (2026-09-09)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.52.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
|
|
@@ -482,6 +482,7 @@ class MessagesResource(SyncAPIResource):
|
|
|
482
482
|
type: ReactionType,
|
|
483
483
|
attachment_id: str | Omit = omit,
|
|
484
484
|
custom_emoji: str | Omit = omit,
|
|
485
|
+
emoji: str | Omit = omit,
|
|
485
486
|
part_index: int | Omit = omit,
|
|
486
487
|
placement: message_add_reaction_params.Placement | Omit = omit,
|
|
487
488
|
url: str | Omit = omit,
|
|
@@ -505,8 +506,14 @@ class MessagesResource(SyncAPIResource):
|
|
|
505
506
|
- laugh 😂
|
|
506
507
|
- emphasize ‼️
|
|
507
508
|
- question ❓
|
|
508
|
-
- custom - any emoji (use `custom_emoji` field to specify)
|
|
509
|
-
- sticker - an image peeled onto the message (use `url` or
|
|
509
|
+
- custom - any emoji as a tapback (use `custom_emoji` field to specify)
|
|
510
|
+
- sticker - an emoji or image peeled onto the message (use `emoji`, `url` or
|
|
511
|
+
`attachment_id`)
|
|
512
|
+
|
|
513
|
+
**`custom` and `sticker` are different products.** A `custom` reaction is a
|
|
514
|
+
tapback: the emoji sits in a small bubble on the corner of the message. A
|
|
515
|
+
`sticker` is peeled onto the bubble itself, and can be dragged, resized and
|
|
516
|
+
rotated. Both accept an emoji; they do not look alike.
|
|
510
517
|
|
|
511
518
|
**Stickers** are iMessage-only and cannot be removed — iMessage has no unpeel
|
|
512
519
|
operation, so `operation: "remove"` with `type: "sticker"` is rejected.
|
|
@@ -524,11 +531,24 @@ class MessagesResource(SyncAPIResource):
|
|
|
524
531
|
attachment_id: Reference to a sticker image pre-uploaded via `POST /v3/attachments`. Only valid
|
|
525
532
|
when type is "sticker".
|
|
526
533
|
|
|
527
|
-
|
|
528
|
-
|
|
534
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
535
|
+
"sticker".
|
|
529
536
|
|
|
530
537
|
custom_emoji: Custom emoji string. Required when type is "custom".
|
|
531
538
|
|
|
539
|
+
This is a **tapback** — the emoji sits in the tapback bubble on the corner of
|
|
540
|
+
the message. To peel an emoji onto the message as a draggable sticker instead,
|
|
541
|
+
use type "sticker" with `emoji`.
|
|
542
|
+
|
|
543
|
+
emoji: A single emoji to peel onto the message as a sticker. Only valid when type is
|
|
544
|
+
"sticker", and it is rendered on the device so it matches the glyph a person
|
|
545
|
+
would peel by hand.
|
|
546
|
+
|
|
547
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
548
|
+
"sticker".
|
|
549
|
+
|
|
550
|
+
Not to be confused with `custom_emoji`, which produces a tapback.
|
|
551
|
+
|
|
532
552
|
part_index: Optional index of the message part to react to. If not provided, reacts to the
|
|
533
553
|
entire message (part 0).
|
|
534
554
|
|
|
@@ -545,8 +565,8 @@ class MessagesResource(SyncAPIResource):
|
|
|
545
565
|
no download step, so the image must already be stored. To send a sticker from
|
|
546
566
|
elsewhere, upload it with `POST /v3/attachments` first and pass `attachment_id`.
|
|
547
567
|
|
|
548
|
-
|
|
549
|
-
|
|
568
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
569
|
+
"sticker".
|
|
550
570
|
|
|
551
571
|
extra_headers: Send extra headers
|
|
552
572
|
|
|
@@ -566,6 +586,7 @@ class MessagesResource(SyncAPIResource):
|
|
|
566
586
|
"type": type,
|
|
567
587
|
"attachment_id": attachment_id,
|
|
568
588
|
"custom_emoji": custom_emoji,
|
|
589
|
+
"emoji": emoji,
|
|
569
590
|
"part_index": part_index,
|
|
570
591
|
"placement": placement,
|
|
571
592
|
"url": url,
|
|
@@ -1249,6 +1270,7 @@ class AsyncMessagesResource(AsyncAPIResource):
|
|
|
1249
1270
|
type: ReactionType,
|
|
1250
1271
|
attachment_id: str | Omit = omit,
|
|
1251
1272
|
custom_emoji: str | Omit = omit,
|
|
1273
|
+
emoji: str | Omit = omit,
|
|
1252
1274
|
part_index: int | Omit = omit,
|
|
1253
1275
|
placement: message_add_reaction_params.Placement | Omit = omit,
|
|
1254
1276
|
url: str | Omit = omit,
|
|
@@ -1272,8 +1294,14 @@ class AsyncMessagesResource(AsyncAPIResource):
|
|
|
1272
1294
|
- laugh 😂
|
|
1273
1295
|
- emphasize ‼️
|
|
1274
1296
|
- question ❓
|
|
1275
|
-
- custom - any emoji (use `custom_emoji` field to specify)
|
|
1276
|
-
- sticker - an image peeled onto the message (use `url` or
|
|
1297
|
+
- custom - any emoji as a tapback (use `custom_emoji` field to specify)
|
|
1298
|
+
- sticker - an emoji or image peeled onto the message (use `emoji`, `url` or
|
|
1299
|
+
`attachment_id`)
|
|
1300
|
+
|
|
1301
|
+
**`custom` and `sticker` are different products.** A `custom` reaction is a
|
|
1302
|
+
tapback: the emoji sits in a small bubble on the corner of the message. A
|
|
1303
|
+
`sticker` is peeled onto the bubble itself, and can be dragged, resized and
|
|
1304
|
+
rotated. Both accept an emoji; they do not look alike.
|
|
1277
1305
|
|
|
1278
1306
|
**Stickers** are iMessage-only and cannot be removed — iMessage has no unpeel
|
|
1279
1307
|
operation, so `operation: "remove"` with `type: "sticker"` is rejected.
|
|
@@ -1291,11 +1319,24 @@ class AsyncMessagesResource(AsyncAPIResource):
|
|
|
1291
1319
|
attachment_id: Reference to a sticker image pre-uploaded via `POST /v3/attachments`. Only valid
|
|
1292
1320
|
when type is "sticker".
|
|
1293
1321
|
|
|
1294
|
-
|
|
1295
|
-
|
|
1322
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
1323
|
+
"sticker".
|
|
1296
1324
|
|
|
1297
1325
|
custom_emoji: Custom emoji string. Required when type is "custom".
|
|
1298
1326
|
|
|
1327
|
+
This is a **tapback** — the emoji sits in the tapback bubble on the corner of
|
|
1328
|
+
the message. To peel an emoji onto the message as a draggable sticker instead,
|
|
1329
|
+
use type "sticker" with `emoji`.
|
|
1330
|
+
|
|
1331
|
+
emoji: A single emoji to peel onto the message as a sticker. Only valid when type is
|
|
1332
|
+
"sticker", and it is rendered on the device so it matches the glyph a person
|
|
1333
|
+
would peel by hand.
|
|
1334
|
+
|
|
1335
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
1336
|
+
"sticker".
|
|
1337
|
+
|
|
1338
|
+
Not to be confused with `custom_emoji`, which produces a tapback.
|
|
1339
|
+
|
|
1299
1340
|
part_index: Optional index of the message part to react to. If not provided, reacts to the
|
|
1300
1341
|
entire message (part 0).
|
|
1301
1342
|
|
|
@@ -1312,8 +1353,8 @@ class AsyncMessagesResource(AsyncAPIResource):
|
|
|
1312
1353
|
no download step, so the image must already be stored. To send a sticker from
|
|
1313
1354
|
elsewhere, upload it with `POST /v3/attachments` first and pass `attachment_id`.
|
|
1314
1355
|
|
|
1315
|
-
|
|
1316
|
-
|
|
1356
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
1357
|
+
"sticker".
|
|
1317
1358
|
|
|
1318
1359
|
extra_headers: Send extra headers
|
|
1319
1360
|
|
|
@@ -1333,6 +1374,7 @@ class AsyncMessagesResource(AsyncAPIResource):
|
|
|
1333
1374
|
"type": type,
|
|
1334
1375
|
"attachment_id": attachment_id,
|
|
1335
1376
|
"custom_emoji": custom_emoji,
|
|
1377
|
+
"emoji": emoji,
|
|
1336
1378
|
"part_index": part_index,
|
|
1337
1379
|
"placement": placement,
|
|
1338
1380
|
"url": url,
|
|
@@ -111,4 +111,9 @@ class Chat(BaseModel):
|
|
|
111
111
|
"""
|
|
112
112
|
|
|
113
113
|
service: Optional[ServiceType] = None
|
|
114
|
-
"""Messaging service type
|
|
114
|
+
"""Messaging service type.
|
|
115
|
+
|
|
116
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
117
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
118
|
+
message.
|
|
119
|
+
"""
|
|
@@ -97,7 +97,12 @@ class Chat(BaseModel):
|
|
|
97
97
|
"""A message that was sent (used in CreateChat and SendMessage responses)"""
|
|
98
98
|
|
|
99
99
|
service: ServiceType
|
|
100
|
-
"""Messaging service type
|
|
100
|
+
"""Messaging service type.
|
|
101
|
+
|
|
102
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
103
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
104
|
+
message.
|
|
105
|
+
"""
|
|
101
106
|
|
|
102
107
|
|
|
103
108
|
class ChatCreateResponse(BaseModel):
|
|
@@ -105,7 +105,12 @@ class Data(BaseModel):
|
|
|
105
105
|
"""When the chat was last updated"""
|
|
106
106
|
|
|
107
107
|
service: Optional[ServiceType] = None
|
|
108
|
-
"""Messaging service type
|
|
108
|
+
"""Messaging service type.
|
|
109
|
+
|
|
110
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
111
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
112
|
+
message.
|
|
113
|
+
"""
|
|
109
114
|
|
|
110
115
|
|
|
111
116
|
class ChatCreatedWebhookEvent(BaseModel):
|
|
@@ -26,7 +26,12 @@ class VoiceMemoChat(BaseModel):
|
|
|
26
26
|
"""Whether this is a group chat"""
|
|
27
27
|
|
|
28
28
|
service: ServiceType
|
|
29
|
-
"""Messaging service type
|
|
29
|
+
"""Messaging service type.
|
|
30
|
+
|
|
31
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
32
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
33
|
+
message.
|
|
34
|
+
"""
|
|
30
35
|
|
|
31
36
|
|
|
32
37
|
class VoiceMemoVoiceMemo(BaseModel):
|
|
@@ -70,7 +75,12 @@ class VoiceMemo(BaseModel):
|
|
|
70
75
|
voice_memo: VoiceMemoVoiceMemo
|
|
71
76
|
|
|
72
77
|
service: Optional[ServiceType] = None
|
|
73
|
-
"""Messaging service type
|
|
78
|
+
"""Messaging service type.
|
|
79
|
+
|
|
80
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
81
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
82
|
+
message.
|
|
83
|
+
"""
|
|
74
84
|
|
|
75
85
|
|
|
76
86
|
class ChatSendVoicememoResponse(BaseModel):
|
|
@@ -195,10 +195,20 @@ class SentMessage(BaseModel):
|
|
|
195
195
|
"""The sender of this message as a full handle object"""
|
|
196
196
|
|
|
197
197
|
preferred_service: Optional[ServiceType] = None
|
|
198
|
-
"""Messaging service type
|
|
198
|
+
"""Messaging service type.
|
|
199
|
+
|
|
200
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
201
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
202
|
+
message.
|
|
203
|
+
"""
|
|
199
204
|
|
|
200
205
|
reply_to: Optional[ReplyTo] = None
|
|
201
206
|
"""Indicates this message is a threaded reply to another message"""
|
|
202
207
|
|
|
203
208
|
service: Optional[ServiceType] = None
|
|
204
|
-
"""Messaging service type
|
|
209
|
+
"""Messaging service type.
|
|
210
|
+
|
|
211
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
212
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
213
|
+
message.
|
|
214
|
+
"""
|
|
@@ -210,7 +210,12 @@ class Message(BaseModel):
|
|
|
210
210
|
"""Message parts in order (text, media, and link)"""
|
|
211
211
|
|
|
212
212
|
preferred_service: Optional[ServiceType] = None
|
|
213
|
-
"""Messaging service type
|
|
213
|
+
"""Messaging service type.
|
|
214
|
+
|
|
215
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
216
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
217
|
+
message.
|
|
218
|
+
"""
|
|
214
219
|
|
|
215
220
|
read_at: Optional[datetime] = None
|
|
216
221
|
"""When the message was read"""
|
|
@@ -232,4 +237,9 @@ class Message(BaseModel):
|
|
|
232
237
|
"""When the message was sent"""
|
|
233
238
|
|
|
234
239
|
service: Optional[ServiceType] = None
|
|
235
|
-
"""Messaging service type
|
|
240
|
+
"""Messaging service type.
|
|
241
|
+
|
|
242
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
243
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
244
|
+
message.
|
|
245
|
+
"""
|
|
@@ -27,12 +27,29 @@ class MessageAddReactionParams(TypedDict, total=False):
|
|
|
27
27
|
Reference to a sticker image pre-uploaded via `POST /v3/attachments`. Only valid
|
|
28
28
|
when type is "sticker".
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
31
|
+
"sticker".
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
custom_emoji: str
|
|
35
|
-
"""Custom emoji string. Required when type is "custom".
|
|
35
|
+
"""Custom emoji string. Required when type is "custom".
|
|
36
|
+
|
|
37
|
+
This is a **tapback** — the emoji sits in the tapback bubble on the corner of
|
|
38
|
+
the message. To peel an emoji onto the message as a draggable sticker instead,
|
|
39
|
+
use type "sticker" with `emoji`.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
emoji: str
|
|
43
|
+
"""A single emoji to peel onto the message as a sticker.
|
|
44
|
+
|
|
45
|
+
Only valid when type is "sticker", and it is rendered on the device so it
|
|
46
|
+
matches the glyph a person would peel by hand.
|
|
47
|
+
|
|
48
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
49
|
+
"sticker".
|
|
50
|
+
|
|
51
|
+
Not to be confused with `custom_emoji`, which produces a tapback.
|
|
52
|
+
"""
|
|
36
53
|
|
|
37
54
|
part_index: int
|
|
38
55
|
"""
|
|
@@ -58,8 +75,8 @@ class MessageAddReactionParams(TypedDict, total=False):
|
|
|
58
75
|
no download step, so the image must already be stored. To send a sticker from
|
|
59
76
|
elsewhere, upload it with `POST /v3/attachments` first and pass `attachment_id`.
|
|
60
77
|
|
|
61
|
-
|
|
62
|
-
|
|
78
|
+
Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
79
|
+
"sticker".
|
|
63
80
|
"""
|
|
64
81
|
|
|
65
82
|
|
|
@@ -307,7 +307,12 @@ class MessageContentParam(TypedDict, total=False):
|
|
|
307
307
|
"""
|
|
308
308
|
|
|
309
309
|
preferred_service: ServiceType
|
|
310
|
-
"""Messaging service type
|
|
310
|
+
"""Messaging service type.
|
|
311
|
+
|
|
312
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
313
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
314
|
+
message.
|
|
315
|
+
"""
|
|
311
316
|
|
|
312
317
|
reply_to: ReplyToParam
|
|
313
318
|
"""Reply to another message to create a threaded conversation"""
|
|
@@ -58,7 +58,12 @@ class MessageCreateResponse(BaseModel):
|
|
|
58
58
|
"""A message that was sent (used in CreateChat and SendMessage responses)"""
|
|
59
59
|
|
|
60
60
|
service: ServiceType
|
|
61
|
-
"""Messaging service type
|
|
61
|
+
"""Messaging service type.
|
|
62
|
+
|
|
63
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
64
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
65
|
+
message.
|
|
66
|
+
"""
|
|
62
67
|
|
|
63
68
|
previous_chat_id: Optional[str] = None
|
|
64
69
|
"""
|
|
@@ -236,7 +236,12 @@ class MessageEventV2(BaseModel):
|
|
|
236
236
|
"""The handle that sent this message"""
|
|
237
237
|
|
|
238
238
|
service: ServiceType
|
|
239
|
-
"""Messaging service type
|
|
239
|
+
"""Messaging service type.
|
|
240
|
+
|
|
241
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
242
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
243
|
+
message.
|
|
244
|
+
"""
|
|
240
245
|
|
|
241
246
|
delivered_at: Optional[datetime] = None
|
|
242
247
|
"""When the message was delivered. Null if not yet delivered."""
|
|
@@ -54,7 +54,12 @@ class Data(BaseModel):
|
|
|
54
54
|
"""Human-readable description of the failure"""
|
|
55
55
|
|
|
56
56
|
service: Optional[ServiceType] = None
|
|
57
|
-
"""Messaging service type
|
|
57
|
+
"""Messaging service type.
|
|
58
|
+
|
|
59
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
60
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
61
|
+
message.
|
|
62
|
+
"""
|
|
58
63
|
|
|
59
64
|
|
|
60
65
|
class MessageFailedWebhookEvent(BaseModel):
|
|
@@ -84,7 +84,12 @@ class ReactionEventBase(BaseModel):
|
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
service: Optional[ServiceType] = None
|
|
87
|
-
"""Messaging service type
|
|
87
|
+
"""Messaging service type.
|
|
88
|
+
|
|
89
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
90
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
91
|
+
message.
|
|
92
|
+
"""
|
|
88
93
|
|
|
89
94
|
sticker: Optional[Sticker] = None
|
|
90
95
|
"""Sticker attachment details when reaction_type is "sticker".
|
|
@@ -21,7 +21,12 @@ class ChatHandle(BaseModel):
|
|
|
21
21
|
"""When this participant joined the chat"""
|
|
22
22
|
|
|
23
23
|
service: ServiceType
|
|
24
|
-
"""Messaging service type
|
|
24
|
+
"""Messaging service type.
|
|
25
|
+
|
|
26
|
+
Where this names the transport a message used, it is per-message: a chat's own
|
|
27
|
+
`service` can differ from a message in it, and Apple can downgrade an individual
|
|
28
|
+
message.
|
|
29
|
+
"""
|
|
25
30
|
|
|
26
31
|
is_me: Optional[bool] = None
|
|
27
32
|
"""Whether this handle belongs to the sender (your phone number)"""
|
|
@@ -269,6 +269,7 @@ class TestMessages:
|
|
|
269
269
|
type="love",
|
|
270
270
|
attachment_id="550e8400-e29b-41d4-a716-446655440000",
|
|
271
271
|
custom_emoji="custom_emoji",
|
|
272
|
+
emoji="🎉",
|
|
272
273
|
part_index=1,
|
|
273
274
|
placement={
|
|
274
275
|
"rotation": 15,
|
|
@@ -773,6 +774,7 @@ class TestAsyncMessages:
|
|
|
773
774
|
type="love",
|
|
774
775
|
attachment_id="550e8400-e29b-41d4-a716-446655440000",
|
|
775
776
|
custom_emoji="custom_emoji",
|
|
777
|
+
emoji="🎉",
|
|
776
778
|
part_index=1,
|
|
777
779
|
placement={
|
|
778
780
|
"rotation": 15,
|
|
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
|