Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message extras field for rendering image in notification #185

Closed
webworxshop opened this issue Sep 4, 2021 · 0 comments
Closed

Message extras field for rendering image in notification #185

webworxshop opened this issue Sep 4, 2021 · 0 comments
Labels
a:feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@webworxshop
Copy link

As discussed/proposed on #74 add a message extras field containing an image URL and render the notification in BigPictureStyle when this field is present. The proposed message extra structure is as follows:

{
  "extras": {
    "client::notification": {
      "imageUrl": "https://example.com/something.jpg"
    }
  }
}

(source)

@jmattheis jmattheis added a:feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

2 participants