struct

WinNotification::Notification

Inherits JSON::Serializable < Struct < Value < Object

シムが返す通知 1 件。

Constructors

new(id : UInt32, app_id : String = "", app_name : String = "", title : String = "", body : String = "", created_at : String = "", icon_png_base64 : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

app_id
Source
app_name
Source
body
Source
created_at
Source
created_time

created_at は ISO 8601 で入る。 解釈できない値でも通知そのものは中継したいため、失敗時は現在時刻で代用する。

Source
icon_png_base64
Source
title
Source