api: Implement DELETE /realm/emoji/{emoji_name}.
This commit is contained in:
		
							parent
							
								
									396ef1d11a
								
							
						
					
					
						commit
						20e7f197e3
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -867,6 +867,18 @@ class Client: | |||
|             files=[file_obj] | ||||
|         ) | ||||
| 
 | ||||
|     def delete_custom_emoji(self, emoji_name: str) -> Dict[str, Any]: | ||||
|         ''' | ||||
|             Example usage: | ||||
| 
 | ||||
|             >>> client.delete_custom_emoji("green_tick") | ||||
|             {'result': 'success', 'msg': ''} | ||||
|         ''' | ||||
|         return self.call_endpoint( | ||||
|             url='realm/emoji/{}'.format(emoji_name), | ||||
|             method='DELETE', | ||||
|         ) | ||||
| 
 | ||||
|     def get_realm_filters(self) -> Dict[str, Any]: | ||||
|         ''' | ||||
|             Example usage: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kartik Srivastava
						Kartik Srivastava