feat(notifications): switch messenger connect flow to bot links
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
query MyMessengerConnections {
|
||||
myMessengerConnections {
|
||||
id
|
||||
type
|
||||
channelId
|
||||
isActive
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
query MyNotificationHistory($channel: MessengerType!, $limit: Int) {
|
||||
myNotificationHistory(channel: $channel, limit: $limit) {
|
||||
id
|
||||
channel
|
||||
title
|
||||
message
|
||||
createdAt
|
||||
orderId
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
mutation SendTestMessengerMessage($type: MessengerType!, $channelId: String, $message: String) {
|
||||
sendTestMessengerMessage(type: $type, channelId: $channelId, message: $message) {
|
||||
type
|
||||
channelId
|
||||
success
|
||||
detail
|
||||
sentAt
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user