AddUserToChannel adds a user to a channel as if the specified user had invited them. This means the user will receive the regular notifications for being added to the channel. @tag User @tag Channel Minimum server version: 5.18
(channelId, userID, asUserId string)
| 568 | // @tag Channel |
| 569 | // Minimum server version: 5.18 |
| 570 | AddUserToChannel(channelId, userID, asUserId string) (*model.ChannelMember, *model.AppError) |
| 571 | |
| 572 | // GetChannelMember gets a channel membership for a user. |
| 573 | // |
no outgoing calls