(id string)
| 67 | } |
| 68 | |
| 69 | func DeleteUser(id string) { |
| 70 | c := InitClient() |
| 71 | _, _ = c.DeleteUser(context.Background(), |
| 72 | id, |
| 73 | stream.DeleteUserWithHardDelete(), |
| 74 | stream.DeleteUserWithDeleteConversations()) |
| 75 | } |
| 76 | |
| 77 | func CreateMessage(channelID, userID string) string { |
| 78 | return CreateMessageWithText(channelID, userID, RandomString(10)) |