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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user