Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

More Intuitive API Design; Control the Push Open Behavior

Latest
Compare
Choose a tag to compare
@joshwolff1 joshwolff1 released this 21 Aug 03:54

-> More Intuitive API Design

To provide text in a push, you can now supply one of either "content" or "push_content" (or both). Content allows you to add up to 2500 characters. We will show as much of it as we can in the push notification when it pops up. Because letters vary in size, how much we can show is unpredictable. If you want to control exactly what shows when the notification pops up, then provide a value for "push_content". "push_content" is limited to 100 characters and will appear when the notification first pops up. Once the user opens the notification, they will then see the value provided for "push_content" and for "content" (if any).

-> Control the Push Open Behavior

Control whether the notification opens to the user's home feed or to the notification on a standalone page. The default (open_in_home_feed=False) is to open the notification on a standalone page.