hnaseri
(Hosein Naseri)
December 12, 2022, 12:11pm
1
i have a webhook set for firing when notification is created. it has a notification_type
variable which is a number. I want to know what each number is indicating? I didnt find any doc for it.
renato
(Renato Atilio)
December 12, 2022, 12:28pm
2
We had a conversation in the past that may be of help:
Hi, a quick question: Can you send notifications to users with the API? (or another way).
In the documentation, I found how to GET notifications of the user, how to mark them as read, but not how to POST some. If it isn’t possible, I guess there is always to possibility of using private messages instead.
I would appreciate any input on this. Thanks.
You can find all the existing types here:
def self.types
@types ||= Enum.new(mentioned: 1,
replied: 2,
quoted: 3,
edited: 4,
liked: 5,
private_message: 6,
invited_to_private_message: 7,
invitee_accepted: 8,
posted: 9,
moved_post: 10,
linked: 11,
granted_badge: 12,
invited_to_topic: 13,
custom: 14,
group_mentioned: 15,
group_message_summary: 16,
watching_first_post: 17,
topic_reminder: 18,
liked_consolidated: 19,
This file has been truncated. show original
7 Likes
system
(system)
Closed
January 11, 2023, 12:28pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.