Skip to content

Commit

Permalink
fix: move files to ext/
Browse files Browse the repository at this point in the history
  • Loading branch information
filipporomani committed Apr 30, 2023
1 parent 3b36c66 commit eec0c8a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="whatsapp-python",
version="2.2.2",
version="2.3.2",
description="Opensource Python wrapper to WhatsApp Cloud API",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
16 changes: 8 additions & 8 deletions whatsapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def __init__(self, token: str = "", phone_number_id: str = "", logger: bool = Tr

# all the files starting with _ are imported here, and should not be imported directly.

from ._property import authorized
from ._send_others import send_custom_json, send_contacts
from ._message import send_template
from ._send_media import send_image, send_video, send_audio, send_location, send_sticker, send_document
from ._media import upload_media, query_media_url, download_media, delete_media
from ._buttons import send_button, create_button, send_reply_button
from ._static import is_message, get_mobile, get_author, get_name, get_message, get_message_id, get_message_type, get_message_timestamp, get_audio, get_delivery, get_document, get_image, get_interactive_response, get_location, get_video, changed_field
from ext._property import authorized
from ext._send_others import send_custom_json, send_contacts
from ext._message import send_template
from ext._send_media import send_image, send_video, send_audio, send_location, send_sticker, send_document
from ext._media import upload_media, query_media_url, download_media, delete_media
from ext._buttons import send_button, create_button, send_reply_button
from ext._static import is_message, get_mobile, get_author, get_name, get_message, get_message_id, get_message_type, get_message_timestamp, get_audio, get_delivery, get_document, get_image, get_interactive_response, get_location, get_video, changed_field
is_message = staticmethod(is_message)
get_mobile = staticmethod(get_mobile)
get_name = staticmethod(get_name)
Expand Down Expand Up @@ -162,4 +162,4 @@ def __init__(self, data: dict = {}, instance: WhatsApp = None, content: str = ""
self.url = self.instance.url
self.headers = self.instance.headers

from ._message import send, reply, mark_as_read
from ext._message import send, reply, mark_as_read
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit eec0c8a

Please sign in to comment.