1.7.0
What's Changed
Update with pip:
pip3 install -U pywa
types: new ButtonUrl
type
client: allowing to provide mime_type
when sending media as bytes, open file or file path without extensions
from pywa import WhatsApp
from pywa.types import ButtonUrl
wa = WhatsApp(...)
wa.send_message(
text='Hi',
to='972123456789',
keyboard=ButtonUrl(title='Google Search', url='https://google.com')
)
Full Changelog: 1.6.0...1.7.0