hnaseri
(Hosein Naseri)
12. Dezember 2022 um 12:11
1
Ich habe einen Webhook eingerichtet, der ausgelöst wird, wenn eine Benachrichtigung erstellt wird. Er hat eine Variable notification_type, die eine Zahl ist. Ich möchte wissen, wofür jede Zahl steht. Ich konnte keine Dokumentation dazu finden.
renato
(Renato Atilio)
12. Dezember 2022 um 12:28
2
Wir hatten in der Vergangenheit ein Gespräch, das hilfreich sein könnte:
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.
Sie finden alle vorhandenen Typen hier:
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 „Gefällt mir“
system
(system)
Geschlossen,
11. Januar 2023 um 12:28
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.