Description
This object represents update about adding a new channel subcriber.
This update is sent to a service with a channel admin role.
Structure
Variable | Obligative | Type | Description |
---|---|---|---|
updateId | true | String | Uuid with backend ID of the update |
peer | true | Peer | New channel subcriber |
channelId | true | String | Uuid with backend ID of a channel (peer) |
type | true | String | “NewChannelSubscriber” value must be filled |
Sample object
{
"updateId" : "Uuid_value",
"type" : "NewChannelSubscriber",
"peer" : {
"type" : "USER",
"id" : "Uuid_value",
"username" : "TestUserName",
"lastName" : "TestLastName",
"firstName" : "TestFirstName"
},
"channelId" : "Uuid_value"
}