Add more methods to LiveThreadService

- Close the live thread
- Configure a live thread's settings
- Invite a user
- Uninvite a user
- Set a contributors permissions
- Revoke a user's contributorship
- Report a live thread

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-09-17 23:33:47 -04:00
parent f814c51b53
commit 58278ffe5d
5 changed files with 528 additions and 16 deletions
+1
View File
@@ -45,6 +45,7 @@ type EmojiCreateOrUpdateRequest struct {
}
func (r *EmojiCreateOrUpdateRequest) validate() error {
// todo if r == nil { ... }
if r.Name == "" {
return errors.New("name: cannot be empty")
}