-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d2ce7e
commit 958e7a7
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package tdproto | ||
|
||
type PushDevice struct { | ||
Type string `json:"type"` | ||
DeviceId string `json:"device_id"` | ||
NotifictionToken string `json:"notification_token"` | ||
VoipNotifictionToken string `json:"voip_notification_token"` | ||
AllowedNotifications bool `json:"allowed_notifications"` // deprecated | ||
Name string `json:"name"` | ||
DataPushes bool `json:"data_pushes"` | ||
DataBadges bool `json:"data_badges"` | ||
Type string `json:"type"` | ||
DeviceId string `json:"device_id"` | ||
NotificationToken string `json:"notification_token"` | ||
VoipNotificationToken string `json:"voip_notification_token"` | ||
AllowedNotifications bool `json:"allowed_notifications"` // deprecated | ||
Name string `json:"name"` | ||
DataPushes bool `json:"data_pushes"` | ||
DataBadges bool `json:"data_badges"` | ||
} |