`is_push_only` is an optional boolean parameter that if set to true, means the Yo will be sent only via push but will not be inserted into the app inbox when unread Yos are being fetched.
It's great for not overwhelming your inbox but still notify you or your users.
There no need to go inside the Yo app to dismiss them from the in-app inbox.
[block:code]
{
"codes": [
{
"code": "data = {'api_token': ,\n 'is_push_only': True,\n 'username': username}\n\nrequests.post(\"https://api.justyo.co/yo/\",\n json=data)",
"language": "python"
}
]
}
[/block]
↧