linq-python 0.26.0__tar.gz → 0.27.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.27.0/.release-please-manifest.json +3 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/CHANGELOG.md +7 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/PKG-INFO +1 -3
- {linq_python-0.26.0 → linq_python-0.27.0}/api.md +0 -29
- {linq_python-0.26.0 → linq_python-0.27.0}/pyproject.toml +1 -2
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/__init__.py +0 -2
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_client.py +0 -13
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_exceptions.py +0 -4
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_version.py +1 -1
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/__init__.py +0 -3
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/background.py +12 -4
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/__init__.py +0 -46
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/background_set_params.py +8 -1
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_event_type.py +1 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/uv.lock +3 -156
- linq_python-0.26.0/.release-please-manifest.json +0 -3
- linq_python-0.26.0/src/linq/resources/webhooks.py +0 -69
- linq_python-0.26.0/src/linq/types/chat_background_updated_webhook_event.py +0 -96
- linq_python-0.26.0/src/linq/types/chat_created_webhook_event.py +0 -148
- linq_python-0.26.0/src/linq/types/chat_group_icon_update_failed_webhook_event.py +0 -71
- linq_python-0.26.0/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -66
- linq_python-0.26.0/src/linq/types/chat_group_name_update_failed_webhook_event.py +0 -71
- linq_python-0.26.0/src/linq/types/chat_group_name_updated_webhook_event.py +0 -66
- linq_python-0.26.0/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -52
- linq_python-0.26.0/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -52
- linq_python-0.26.0/src/linq/types/message_delivered_webhook_event.py +0 -65
- linq_python-0.26.0/src/linq/types/message_edited_webhook_event.py +0 -160
- linq_python-0.26.0/src/linq/types/message_event_v2.py +0 -253
- linq_python-0.26.0/src/linq/types/message_failed_webhook_event.py +0 -101
- linq_python-0.26.0/src/linq/types/message_read_webhook_event.py +0 -65
- linq_python-0.26.0/src/linq/types/message_received_webhook_event.py +0 -65
- linq_python-0.26.0/src/linq/types/message_sent_webhook_event.py +0 -65
- linq_python-0.26.0/src/linq/types/participant_added_webhook_event.py +0 -66
- linq_python-0.26.0/src/linq/types/participant_removed_webhook_event.py +0 -66
- linq_python-0.26.0/src/linq/types/phone_number_status_updated_webhook_event.py +0 -107
- linq_python-0.26.0/src/linq/types/poll_delivered_webhook_event.py +0 -123
- linq_python-0.26.0/src/linq/types/poll_failed_webhook_event.py +0 -137
- linq_python-0.26.0/src/linq/types/poll_reaction_added_webhook_event.py +0 -51
- linq_python-0.26.0/src/linq/types/poll_read_webhook_event.py +0 -123
- linq_python-0.26.0/src/linq/types/poll_received_webhook_event.py +0 -117
- linq_python-0.26.0/src/linq/types/poll_sent_webhook_event.py +0 -123
- linq_python-0.26.0/src/linq/types/poll_updated_webhook_event.py +0 -102
- linq_python-0.26.0/src/linq/types/poll_vote_added_webhook_event.py +0 -76
- linq_python-0.26.0/src/linq/types/poll_vote_removed_webhook_event.py +0 -76
- linq_python-0.26.0/src/linq/types/reaction_added_webhook_event.py +0 -46
- linq_python-0.26.0/src/linq/types/reaction_event_base.py +0 -85
- linq_python-0.26.0/src/linq/types/reaction_removed_webhook_event.py +0 -46
- linq_python-0.26.0/src/linq/types/schemas_media_part_response.py +0 -29
- linq_python-0.26.0/src/linq/types/schemas_message_effect.py +0 -18
- linq_python-0.26.0/src/linq/types/schemas_text_part_response.py +0 -22
- linq_python-0.26.0/src/linq/types/unwrap_webhook_event.py +0 -70
- linq_python-0.26.0/tests/api_resources/test_webhooks.py +0 -103
- {linq_python-0.26.0 → linq_python-0.27.0}/.gitignore +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/CONTRIBUTING.md +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/LICENSE +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/README.md +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/SECURITY.md +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/bin/check-release-environment +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/bin/publish-pypi +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/examples/.keep +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/release-please-config.json +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/requirements-dev.lock +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_base_client.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_compat.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_constants.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_files.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_models.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_qs.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_resource.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_streaming.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_types.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/lib/.keep +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/pagination.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/py.typed +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/attachments.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/available_number.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/blocked_handles.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/capability.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/chats.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/location.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/polls.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/experiences.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/messages/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/messages/messages.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/messages/poll.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/payment_handles.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/payment_providers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/payment_requests.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/payments.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/webhook_events.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/resources/webhook_subscriptions.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/attachment_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/attachment_retrieve_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/available_number_retrieve_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/available_number_retrieve_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/blocked_handle_block_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/blocked_handle_block_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/blocked_handle_entry.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/blocked_handle_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/blocked_handle_unblock_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_create_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_send_voicememo_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/get_chat_location_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/location_request_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/poll.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/poll_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/poll_envelope.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/chats/sent_message.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/experience_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/experience_retrieve_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_add_reaction_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_content_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_create_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_update_app_card_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_update_app_card_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/messages/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/messages/poll_add_options_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/messages/poll_vote_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_credentials_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_handle_connection.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_handle_verify_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_provider.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_provider_connect_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_provider_connect_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_request.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_request_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_request_list_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/payment_request_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/phone_number_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/phone_number_update_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/phone_number_update_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_action_item.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_audit.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_audit_started.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_driver.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_driver_key.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_evidence.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_opt_out_chat.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_report.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/reputation_unhealthy_chat.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/chat_handle.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/link_part_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/supported_content_type.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_event_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_background.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_location.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_polls.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/messages/__init__.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/messages/test_poll.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_available_number.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_blocked_handles.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_experiences.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_messages.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_payment_handles.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_payment_providers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_payment_requests.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_payments.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/conftest.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/sample_file.txt +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_client.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_extract_files.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_files.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_models.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_qs.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_required_args.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_response.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_streaming.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_transform.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.26.0 → linq_python-0.27.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.0](https://github.com/linq-team/linq-python/compare/v0.26.0...v0.27.0) (2026-08-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add chat.background_update_failed webhook event ([c6d4e0e](https://github.com/linq-team/linq-python/commit/c6d4e0e87e85ecffaf135ad9a6944de3bd528ed1))
|
|
9
|
+
|
|
3
10
|
## [0.26.0](https://github.com/linq-team/linq-python/compare/v0.25.2...v0.26.0) (2026-08-17)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.27.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
|
|
@@ -31,8 +31,6 @@ Requires-Dist: typing-extensions<5,>=4.14
|
|
|
31
31
|
Provides-Extra: aiohttp
|
|
32
32
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
33
33
|
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
|
|
34
|
-
Provides-Extra: webhooks
|
|
35
|
-
Requires-Dist: standardwebhooks<2,>=1.0.1; extra == 'webhooks'
|
|
36
34
|
Description-Content-Type: text/markdown
|
|
37
35
|
|
|
38
36
|
# Linq API V3 Python API library
|
|
@@ -347,35 +347,6 @@ from linq.types import (
|
|
|
347
347
|
SchemasMediaPartResponse,
|
|
348
348
|
SchemasMessageEffect,
|
|
349
349
|
SchemasTextPartResponse,
|
|
350
|
-
MessageSentWebhookEvent,
|
|
351
|
-
MessageReceivedWebhookEvent,
|
|
352
|
-
MessageReadWebhookEvent,
|
|
353
|
-
MessageDeliveredWebhookEvent,
|
|
354
|
-
MessageFailedWebhookEvent,
|
|
355
|
-
MessageEditedWebhookEvent,
|
|
356
|
-
ReactionAddedWebhookEvent,
|
|
357
|
-
ReactionRemovedWebhookEvent,
|
|
358
|
-
PollReceivedWebhookEvent,
|
|
359
|
-
PollSentWebhookEvent,
|
|
360
|
-
PollDeliveredWebhookEvent,
|
|
361
|
-
PollReadWebhookEvent,
|
|
362
|
-
PollUpdatedWebhookEvent,
|
|
363
|
-
PollFailedWebhookEvent,
|
|
364
|
-
PollVoteAddedWebhookEvent,
|
|
365
|
-
PollVoteRemovedWebhookEvent,
|
|
366
|
-
PollReactionAddedWebhookEvent,
|
|
367
|
-
ParticipantAddedWebhookEvent,
|
|
368
|
-
ParticipantRemovedWebhookEvent,
|
|
369
|
-
ChatCreatedWebhookEvent,
|
|
370
|
-
ChatGroupNameUpdatedWebhookEvent,
|
|
371
|
-
ChatGroupIconUpdatedWebhookEvent,
|
|
372
|
-
ChatGroupNameUpdateFailedWebhookEvent,
|
|
373
|
-
ChatGroupIconUpdateFailedWebhookEvent,
|
|
374
|
-
ChatTypingIndicatorStartedWebhookEvent,
|
|
375
|
-
ChatTypingIndicatorStoppedWebhookEvent,
|
|
376
|
-
ChatBackgroundUpdatedWebhookEvent,
|
|
377
|
-
PhoneNumberStatusUpdatedWebhookEvent,
|
|
378
|
-
UnwrapWebhookEvent,
|
|
379
350
|
)
|
|
380
351
|
```
|
|
381
352
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "linq-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.27.0"
|
|
4
4
|
description = "The official Python library for the linq-api-v3 API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -42,7 +42,6 @@ Repository = "https://github.com/linq-team/linq-python"
|
|
|
42
42
|
|
|
43
43
|
[project.optional-dependencies]
|
|
44
44
|
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
|
|
45
|
-
webhooks = ["standardwebhooks >= 1.0.1, < 2"]
|
|
46
45
|
|
|
47
46
|
[tool.uv]
|
|
48
47
|
managed = true
|
|
@@ -34,7 +34,6 @@ from ._exceptions import (
|
|
|
34
34
|
InternalServerError,
|
|
35
35
|
PermissionDeniedError,
|
|
36
36
|
UnprocessableEntityError,
|
|
37
|
-
APIWebhookValidationError,
|
|
38
37
|
APIResponseValidationError,
|
|
39
38
|
)
|
|
40
39
|
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
|
|
@@ -58,7 +57,6 @@ __all__ = [
|
|
|
58
57
|
"APITimeoutError",
|
|
59
58
|
"APIConnectionError",
|
|
60
59
|
"APIResponseValidationError",
|
|
61
|
-
"APIWebhookValidationError",
|
|
62
60
|
"BadRequestError",
|
|
63
61
|
"AuthenticationError",
|
|
64
62
|
"PermissionDeniedError",
|
|
@@ -56,7 +56,6 @@ if TYPE_CHECKING:
|
|
|
56
56
|
webhook_subscriptions,
|
|
57
57
|
)
|
|
58
58
|
from .resources.payments import PaymentsResource, AsyncPaymentsResource
|
|
59
|
-
from .resources.webhooks import WebhooksResource, AsyncWebhooksResource
|
|
60
59
|
from .resources.capability import CapabilityResource, AsyncCapabilityResource
|
|
61
60
|
from .resources.attachments import AttachmentsResource, AsyncAttachmentsResource
|
|
62
61
|
from .resources.chats.chats import ChatsResource, AsyncChatsResource
|
|
@@ -1017,12 +1016,6 @@ class LinqAPIV3(SyncAPIClient):
|
|
|
1017
1016
|
|
|
1018
1017
|
return CapabilityResource(self)
|
|
1019
1018
|
|
|
1020
|
-
@cached_property
|
|
1021
|
-
def webhooks(self) -> WebhooksResource:
|
|
1022
|
-
from .resources.webhooks import WebhooksResource
|
|
1023
|
-
|
|
1024
|
-
return WebhooksResource(self)
|
|
1025
|
-
|
|
1026
1019
|
@cached_property
|
|
1027
1020
|
def contact_card(self) -> ContactCardResource:
|
|
1028
1021
|
"""
|
|
@@ -2093,12 +2086,6 @@ class AsyncLinqAPIV3(AsyncAPIClient):
|
|
|
2093
2086
|
|
|
2094
2087
|
return AsyncCapabilityResource(self)
|
|
2095
2088
|
|
|
2096
|
-
@cached_property
|
|
2097
|
-
def webhooks(self) -> AsyncWebhooksResource:
|
|
2098
|
-
from .resources.webhooks import AsyncWebhooksResource
|
|
2099
|
-
|
|
2100
|
-
return AsyncWebhooksResource(self)
|
|
2101
|
-
|
|
2102
2089
|
@cached_property
|
|
2103
2090
|
def contact_card(self) -> AsyncContactCardResource:
|
|
2104
2091
|
"""
|
|
@@ -77,10 +77,6 @@ class APIResponseValidationError(APIError):
|
|
|
77
77
|
self.status_code = response.status_code
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
class APIWebhookValidationError(APIError):
|
|
81
|
-
pass
|
|
82
|
-
|
|
83
|
-
|
|
84
80
|
class APIStatusError(APIError):
|
|
85
81
|
"""Raised when an API response has a status code of 4xx or 5xx."""
|
|
86
82
|
|
|
@@ -24,7 +24,6 @@ from .payments import (
|
|
|
24
24
|
PaymentsResourceWithStreamingResponse,
|
|
25
25
|
AsyncPaymentsResourceWithStreamingResponse,
|
|
26
26
|
)
|
|
27
|
-
from .webhooks import WebhooksResource, AsyncWebhooksResource
|
|
28
27
|
from .capability import (
|
|
29
28
|
CapabilityResource,
|
|
30
29
|
AsyncCapabilityResource,
|
|
@@ -221,8 +220,6 @@ __all__ = [
|
|
|
221
220
|
"AsyncCapabilityResourceWithRawResponse",
|
|
222
221
|
"CapabilityResourceWithStreamingResponse",
|
|
223
222
|
"AsyncCapabilityResourceWithStreamingResponse",
|
|
224
|
-
"WebhooksResource",
|
|
225
|
-
"AsyncWebhooksResource",
|
|
226
223
|
"ContactCardResource",
|
|
227
224
|
"AsyncContactCardResource",
|
|
228
225
|
"ContactCardResourceWithRawResponse",
|
|
@@ -116,7 +116,7 @@ class BackgroundResource(SyncAPIResource):
|
|
|
116
116
|
Provide one of: a **color** (a named preset or a custom 2-stop gradient), a
|
|
117
117
|
**dynamic** animated style, or a **photo** (by URL). The request is accepted
|
|
118
118
|
asynchronously; the terminal result arrives via the `chat.background_updated`
|
|
119
|
-
webhook.
|
|
119
|
+
webhook on success, or `chat.background_update_failed` on failure.
|
|
120
120
|
|
|
121
121
|
**Group chats are supported.** Requests for RCS or SMS chats are accepted
|
|
122
122
|
(`202`) but no background is applied and no `chat.background_updated` webhook
|
|
@@ -125,7 +125,11 @@ class BackgroundResource(SyncAPIResource):
|
|
|
125
125
|
Args:
|
|
126
126
|
type: The background family.
|
|
127
127
|
|
|
128
|
-
image_url: Photo: the image URL to embed in the background.
|
|
128
|
+
image_url: Photo: the image URL to embed in the background. Must be an absolute `https` URL
|
|
129
|
+
pointing at an image (`.jpg`, `.png`, `.heic`, `.webp`), and the image is
|
|
130
|
+
fetched and re-hosted on our CDN before the request is accepted — the same way
|
|
131
|
+
`group_chat_icon` works. A URL we cannot fetch, or one that isn't an image, is
|
|
132
|
+
rejected with a `400` (`5007`/`5006`) rather than failing later on the device.
|
|
129
133
|
|
|
130
134
|
shades: Color with `variant: custom`: the two gradient stops as hex, top then bottom.
|
|
131
135
|
Ignored for named color variants (they carry their own two colors).
|
|
@@ -264,7 +268,7 @@ class AsyncBackgroundResource(AsyncAPIResource):
|
|
|
264
268
|
Provide one of: a **color** (a named preset or a custom 2-stop gradient), a
|
|
265
269
|
**dynamic** animated style, or a **photo** (by URL). The request is accepted
|
|
266
270
|
asynchronously; the terminal result arrives via the `chat.background_updated`
|
|
267
|
-
webhook.
|
|
271
|
+
webhook on success, or `chat.background_update_failed` on failure.
|
|
268
272
|
|
|
269
273
|
**Group chats are supported.** Requests for RCS or SMS chats are accepted
|
|
270
274
|
(`202`) but no background is applied and no `chat.background_updated` webhook
|
|
@@ -273,7 +277,11 @@ class AsyncBackgroundResource(AsyncAPIResource):
|
|
|
273
277
|
Args:
|
|
274
278
|
type: The background family.
|
|
275
279
|
|
|
276
|
-
image_url: Photo: the image URL to embed in the background.
|
|
280
|
+
image_url: Photo: the image URL to embed in the background. Must be an absolute `https` URL
|
|
281
|
+
pointing at an image (`.jpg`, `.png`, `.heic`, `.webp`), and the image is
|
|
282
|
+
fetched and re-hosted on our CDN before the request is accepted — the same way
|
|
283
|
+
`group_chat_icon` works. A URL we cannot fetch, or one that isn't an image, is
|
|
284
|
+
rejected with a `400` (`5007`/`5006`) rather than failing later on the device.
|
|
277
285
|
|
|
278
286
|
shades: Color with `variant: custom`: the two gradient stops as hex, top then bottom.
|
|
279
287
|
Ignored for named color variants (they carry their own two colors).
|
|
@@ -22,7 +22,6 @@ from .link_part_param import LinkPartParam as LinkPartParam
|
|
|
22
22
|
from .payment_request import PaymentRequest as PaymentRequest
|
|
23
23
|
from .text_part_param import TextPartParam as TextPartParam
|
|
24
24
|
from .media_part_param import MediaPartParam as MediaPartParam
|
|
25
|
-
from .message_event_v2 import MessageEventV2 as MessageEventV2
|
|
26
25
|
from .payment_provider import PaymentProvider as PaymentProvider
|
|
27
26
|
from .reputation_audit import ReputationAudit as ReputationAudit
|
|
28
27
|
from .set_contact_card import SetContactCard as SetContactCard
|
|
@@ -31,13 +30,11 @@ from .reputation_report import ReputationReport as ReputationReport
|
|
|
31
30
|
from .chat_create_params import ChatCreateParams as ChatCreateParams
|
|
32
31
|
from .chat_update_params import ChatUpdateParams as ChatUpdateParams
|
|
33
32
|
from .webhook_event_type import WebhookEventType as WebhookEventType
|
|
34
|
-
from .reaction_event_base import ReactionEventBase as ReactionEventBase
|
|
35
33
|
from .reputation_evidence import ReputationEvidence as ReputationEvidence
|
|
36
34
|
from .blocked_handle_entry import BlockedHandleEntry as BlockedHandleEntry
|
|
37
35
|
from .chat_create_response import ChatCreateResponse as ChatCreateResponse
|
|
38
36
|
from .chat_update_response import ChatUpdateResponse as ChatUpdateResponse
|
|
39
37
|
from .message_effect_param import MessageEffectParam as MessageEffectParam
|
|
40
|
-
from .unwrap_webhook_event import UnwrapWebhookEvent as UnwrapWebhookEvent
|
|
41
38
|
from .webhook_subscription import WebhookSubscription as WebhookSubscription
|
|
42
39
|
from .handle_check_response import HandleCheckResponse as HandleCheckResponse
|
|
43
40
|
from .message_content_param import MessageContentParam as MessageContentParam
|
|
@@ -47,11 +44,8 @@ from .payment_create_params import PaymentCreateParams as PaymentCreateParams
|
|
|
47
44
|
from .reputation_driver_key import ReputationDriverKey as ReputationDriverKey
|
|
48
45
|
from .chat_list_chats_params import ChatListChatsParams as ChatListChatsParams
|
|
49
46
|
from .reputation_action_item import ReputationActionItem as ReputationActionItem
|
|
50
|
-
from .schemas_message_effect import SchemasMessageEffect as SchemasMessageEffect
|
|
51
47
|
from .supported_content_type import SupportedContentType as SupportedContentType
|
|
52
48
|
from .message_create_response import MessageCreateResponse as MessageCreateResponse
|
|
53
|
-
from .poll_read_webhook_event import PollReadWebhookEvent as PollReadWebhookEvent
|
|
54
|
-
from .poll_sent_webhook_event import PollSentWebhookEvent as PollSentWebhookEvent
|
|
55
49
|
from .reputation_opt_out_chat import ReputationOptOutChat as ReputationOptOutChat
|
|
56
50
|
from .attachment_create_params import AttachmentCreateParams as AttachmentCreateParams
|
|
57
51
|
from .chat_leave_chat_response import ChatLeaveChatResponse as ChatLeaveChatResponse
|
|
@@ -59,81 +53,41 @@ from .experience_list_response import ExperienceListResponse as ExperienceListRe
|
|
|
59
53
|
from .reputation_audit_started import ReputationAuditStarted as ReputationAuditStarted
|
|
60
54
|
from .payment_handle_connection import PaymentHandleConnection as PaymentHandleConnection
|
|
61
55
|
from .phonenumber_list_response import PhonenumberListResponse as PhonenumberListResponse
|
|
62
|
-
from .poll_failed_webhook_event import PollFailedWebhookEvent as PollFailedWebhookEvent
|
|
63
56
|
from .reputation_unhealthy_chat import ReputationUnhealthyChat as ReputationUnhealthyChat
|
|
64
57
|
from .attachment_create_response import AttachmentCreateResponse as AttachmentCreateResponse
|
|
65
|
-
from .chat_created_webhook_event import ChatCreatedWebhookEvent as ChatCreatedWebhookEvent
|
|
66
58
|
from .chat_send_voicememo_params import ChatSendVoicememoParams as ChatSendVoicememoParams
|
|
67
59
|
from .contact_card_create_params import ContactCardCreateParams as ContactCardCreateParams
|
|
68
60
|
from .contact_card_update_params import ContactCardUpdateParams as ContactCardUpdateParams
|
|
69
|
-
from .message_read_webhook_event import MessageReadWebhookEvent as MessageReadWebhookEvent
|
|
70
|
-
from .message_sent_webhook_event import MessageSentWebhookEvent as MessageSentWebhookEvent
|
|
71
61
|
from .phone_number_list_response import PhoneNumberListResponse as PhoneNumberListResponse
|
|
72
62
|
from .phone_number_update_params import PhoneNumberUpdateParams as PhoneNumberUpdateParams
|
|
73
|
-
from .poll_updated_webhook_event import PollUpdatedWebhookEvent as PollUpdatedWebhookEvent
|
|
74
|
-
from .schemas_text_part_response import SchemasTextPartResponse as SchemasTextPartResponse
|
|
75
63
|
from .blocked_handle_block_params import BlockedHandleBlockParams as BlockedHandleBlockParams
|
|
76
64
|
from .capability_check_RCS_params import CapabilityCheckRCSParams as CapabilityCheckRCSParams
|
|
77
65
|
from .message_add_reaction_params import MessageAddReactionParams as MessageAddReactionParams
|
|
78
66
|
from .payment_request_list_params import PaymentRequestListParams as PaymentRequestListParams
|
|
79
|
-
from .poll_received_webhook_event import PollReceivedWebhookEvent as PollReceivedWebhookEvent
|
|
80
|
-
from .schemas_media_part_response import SchemasMediaPartResponse as SchemasMediaPartResponse
|
|
81
67
|
from .webhook_event_list_response import WebhookEventListResponse as WebhookEventListResponse
|
|
82
68
|
from .attachment_retrieve_response import AttachmentRetrieveResponse as AttachmentRetrieveResponse
|
|
83
69
|
from .blocked_handle_list_response import BlockedHandleListResponse as BlockedHandleListResponse
|
|
84
70
|
from .chat_send_voicememo_response import ChatSendVoicememoResponse as ChatSendVoicememoResponse
|
|
85
71
|
from .contact_card_retrieve_params import ContactCardRetrieveParams as ContactCardRetrieveParams
|
|
86
72
|
from .experience_retrieve_response import ExperienceRetrieveResponse as ExperienceRetrieveResponse
|
|
87
|
-
from .message_edited_webhook_event import MessageEditedWebhookEvent as MessageEditedWebhookEvent
|
|
88
|
-
from .message_failed_webhook_event import MessageFailedWebhookEvent as MessageFailedWebhookEvent
|
|
89
73
|
from .payment_credentials_response import PaymentCredentialsResponse as PaymentCredentialsResponse
|
|
90
74
|
from .payment_handle_verify_params import PaymentHandleVerifyParams as PaymentHandleVerifyParams
|
|
91
75
|
from .phone_number_update_response import PhoneNumberUpdateResponse as PhoneNumberUpdateResponse
|
|
92
|
-
from .poll_delivered_webhook_event import PollDeliveredWebhookEvent as PollDeliveredWebhookEvent
|
|
93
|
-
from .reaction_added_webhook_event import ReactionAddedWebhookEvent as ReactionAddedWebhookEvent
|
|
94
76
|
from .blocked_handle_block_response import BlockedHandleBlockResponse as BlockedHandleBlockResponse
|
|
95
77
|
from .blocked_handle_unblock_params import BlockedHandleUnblockParams as BlockedHandleUnblockParams
|
|
96
78
|
from .message_add_reaction_response import MessageAddReactionResponse as MessageAddReactionResponse
|
|
97
79
|
from .payment_request_create_params import PaymentRequestCreateParams as PaymentRequestCreateParams
|
|
98
80
|
from .payment_request_list_response import PaymentRequestListResponse as PaymentRequestListResponse
|
|
99
|
-
from .poll_vote_added_webhook_event import PollVoteAddedWebhookEvent as PollVoteAddedWebhookEvent
|
|
100
81
|
from .contact_card_retrieve_response import ContactCardRetrieveResponse as ContactCardRetrieveResponse
|
|
101
|
-
from .message_received_webhook_event import MessageReceivedWebhookEvent as MessageReceivedWebhookEvent
|
|
102
82
|
from .message_update_app_card_params import MessageUpdateAppCardParams as MessageUpdateAppCardParams
|
|
103
|
-
from .reaction_removed_webhook_event import ReactionRemovedWebhookEvent as ReactionRemovedWebhookEvent
|
|
104
|
-
from .message_delivered_webhook_event import MessageDeliveredWebhookEvent as MessageDeliveredWebhookEvent
|
|
105
|
-
from .participant_added_webhook_event import ParticipantAddedWebhookEvent as ParticipantAddedWebhookEvent
|
|
106
83
|
from .payment_provider_connect_params import PaymentProviderConnectParams as PaymentProviderConnectParams
|
|
107
|
-
from .poll_vote_removed_webhook_event import PollVoteRemovedWebhookEvent as PollVoteRemovedWebhookEvent
|
|
108
84
|
from .available_number_retrieve_params import AvailableNumberRetrieveParams as AvailableNumberRetrieveParams
|
|
109
85
|
from .message_update_app_card_response import MessageUpdateAppCardResponse as MessageUpdateAppCardResponse
|
|
110
86
|
from .capability_check_i_message_params import CapabilityCheckIMessageParams as CapabilityCheckIMessageParams
|
|
111
|
-
from .participant_removed_webhook_event import ParticipantRemovedWebhookEvent as ParticipantRemovedWebhookEvent
|
|
112
87
|
from .payment_provider_connect_response import PaymentProviderConnectResponse as PaymentProviderConnectResponse
|
|
113
|
-
from .poll_reaction_added_webhook_event import PollReactionAddedWebhookEvent as PollReactionAddedWebhookEvent
|
|
114
88
|
from .available_number_retrieve_response import AvailableNumberRetrieveResponse as AvailableNumberRetrieveResponse
|
|
115
89
|
from .webhook_subscription_create_params import WebhookSubscriptionCreateParams as WebhookSubscriptionCreateParams
|
|
116
90
|
from .webhook_subscription_list_response import WebhookSubscriptionListResponse as WebhookSubscriptionListResponse
|
|
117
91
|
from .webhook_subscription_update_params import WebhookSubscriptionUpdateParams as WebhookSubscriptionUpdateParams
|
|
118
92
|
from .message_list_messages_thread_params import MessageListMessagesThreadParams as MessageListMessagesThreadParams
|
|
119
93
|
from .webhook_subscription_create_response import WebhookSubscriptionCreateResponse as WebhookSubscriptionCreateResponse
|
|
120
|
-
from .chat_background_updated_webhook_event import (
|
|
121
|
-
ChatBackgroundUpdatedWebhookEvent as ChatBackgroundUpdatedWebhookEvent,
|
|
122
|
-
)
|
|
123
|
-
from .chat_group_icon_updated_webhook_event import ChatGroupIconUpdatedWebhookEvent as ChatGroupIconUpdatedWebhookEvent
|
|
124
|
-
from .chat_group_name_updated_webhook_event import ChatGroupNameUpdatedWebhookEvent as ChatGroupNameUpdatedWebhookEvent
|
|
125
|
-
from .phone_number_status_updated_webhook_event import (
|
|
126
|
-
PhoneNumberStatusUpdatedWebhookEvent as PhoneNumberStatusUpdatedWebhookEvent,
|
|
127
|
-
)
|
|
128
|
-
from .chat_group_icon_update_failed_webhook_event import (
|
|
129
|
-
ChatGroupIconUpdateFailedWebhookEvent as ChatGroupIconUpdateFailedWebhookEvent,
|
|
130
|
-
)
|
|
131
|
-
from .chat_group_name_update_failed_webhook_event import (
|
|
132
|
-
ChatGroupNameUpdateFailedWebhookEvent as ChatGroupNameUpdateFailedWebhookEvent,
|
|
133
|
-
)
|
|
134
|
-
from .chat_typing_indicator_started_webhook_event import (
|
|
135
|
-
ChatTypingIndicatorStartedWebhookEvent as ChatTypingIndicatorStartedWebhookEvent,
|
|
136
|
-
)
|
|
137
|
-
from .chat_typing_indicator_stopped_webhook_event import (
|
|
138
|
-
ChatTypingIndicatorStoppedWebhookEvent as ChatTypingIndicatorStoppedWebhookEvent,
|
|
139
|
-
)
|
|
@@ -14,7 +14,14 @@ class BackgroundSetParams(TypedDict, total=False):
|
|
|
14
14
|
"""The background family."""
|
|
15
15
|
|
|
16
16
|
image_url: str
|
|
17
|
-
"""Photo: the image URL to embed in the background.
|
|
17
|
+
"""Photo: the image URL to embed in the background.
|
|
18
|
+
|
|
19
|
+
Must be an absolute `https` URL pointing at an image (`.jpg`, `.png`, `.heic`,
|
|
20
|
+
`.webp`), and the image is fetched and re-hosted on our CDN before the request
|
|
21
|
+
is accepted — the same way `group_chat_icon` works. A URL we cannot fetch, or
|
|
22
|
+
one that isn't an image, is rejected with a `400` (`5007`/`5006`) rather than
|
|
23
|
+
failing later on the device.
|
|
24
|
+
"""
|
|
18
25
|
|
|
19
26
|
shades: SequenceNotStr[str]
|
|
20
27
|
"""
|
|
@@ -30,6 +30,7 @@ WebhookEventType: TypeAlias = Literal[
|
|
|
30
30
|
"chat.group_name_update_failed",
|
|
31
31
|
"chat.group_icon_update_failed",
|
|
32
32
|
"chat.background_updated",
|
|
33
|
+
"chat.background_update_failed",
|
|
33
34
|
"chat.typing_indicator.started",
|
|
34
35
|
"chat.typing_indicator.stopped",
|
|
35
36
|
"phone_number.status_updated",
|