- Breaking: Fix typo of the name WhatsappClient (it was incorrectly spelled WhatasppClient)
- add methods set_access_token and set_phone_number_id for WhatsappClient
- add methods request_code and verify_code for WhatsappClient
- add model struct VerificationRequest to help responding to webhook verification request
- add getter and setter for WhatsappClient version
- upgrade graph api version to v20.0
- add image message sending
- add interactive list message sending
- add interactive message sending
- index attribute for Component, specifically meant for buttons
- for_button function for Component
- Breaking: component_type and sub_types of Component are now enums
- Breaking: parameter_type of Paramter is now enum
- Fix typo: mime_type instead of meme_type :)
- Changed a few model fields to public
- add failed status to StatusCode
- add mark_message_as_read method for WhatsappClient
- Make message_status optional in CreatedMessage struct
- Add message_status to CreatedMessage struct
- status string (delieverd, read, sent) is now an enum
- Breaking: conversation and pricing in Status are now optional
- Additional model structs to help processing incoming webhooks
- Breaking: contacts and messages in Value are now optional
- Additional model structs to help processing incoming webhooks
- Contact profile to incoming webhook messages
- Breaking: Message is now back as struct :)
- Breaking: Message::from_text() and Message::from_template() have an additional parameter context, for replying to messages. For normal messages, pass it as None.
- Methods Message::from_text_with_context() and Message::from_template_with_context() for replying to messages
- Models to help processing incoming webhooks
- Breaking: Message is now enum instead of struct, to provide stronger typig. If you are directly using Message struct (instead of using from_text & from_template), this will require some code changes.
Last release before changelog