Explore Plans
Mobile menu Close menu
iMessage by Photon

Group Chat Event

Fires on group chat changes such as name, participants, or icon

Developer info

API endpoint slug
photon_codes.group_event

Trigger fields

Event type Dropdown list

Label
Event Type
Slug
event_type
Required
true
Can have default value
false

Ingredients

Created at The timestamp when the group event occurred

Slug
created_at
Filter code
PhotonCodes.groupEvent.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Sender The person who triggered the group change

Slug
sender
Filter code
PhotonCodes.groupEvent.Sender
Type
String
Example
+15559876543

Group name The current or new group name

Slug
group_name
Filter code
PhotonCodes.groupEvent.GroupName
Type
String
Example
Weekend Plans

Event type The type of group event that occurred

Slug
event_type
Filter code
PhotonCodes.groupEvent.EventType
Type
String
Example
group.name_changed

Chat guid The unique identifier for the group conversation

Slug
chat_guid
Filter code
PhotonCodes.groupEvent.ChatGuid
Type
String
Example
iMessage;+;chat987654321