Skip to content

1.7.0

Compare
Choose a tag to compare
@david-lev david-lev released this 12 Oct 18:43
· 405 commits to master since this release

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