Skip to main content

CreatePushNotificationInput

No description

input CreatePushNotificationInput {
communityId: ID!
withEvent: PushNotificationWithEventInput!
translations: [PushNotificationTranslationInput!]!
scheduledAt: DateTime
targets: PushNotificationTargetInput!
redirection: PushNotificationRedirectionInput!
}

Fields​

CreatePushNotificationInput.communityId ● ID! non-null scalar​

CreatePushNotificationInput.withEvent ● PushNotificationWithEventInput! non-null input​

In the future, "withEvent" will be nullable, in order to unlink push notification from event but still keep it at community level

CreatePushNotificationInput.translations ● [PushNotificationTranslationInput!]! non-null input​

CreatePushNotificationInput.scheduledAt ● DateTime scalar​

If "scheduledAt" is null or lower than current timestamp, it means the push notification is sent instantly - set to UTC

CreatePushNotificationInput.targets ● PushNotificationTargetInput! non-null input​

CreatePushNotificationInput.redirection ● PushNotificationRedirectionInput! non-null input​

Member Of​

createPushNotification mutation