Interface IUpdateable
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
Defines whether the object is updateable or not.
public interface IUpdateable
Methods
UpdateAsync(RequestOptions?)
Updates this object's properties with its current state.
Task UpdateAsync(RequestOptions? options = null)
Parameters
options
RequestOptionsThe options to be used when sending the request.
Returns
- Task
A task that represents an asynchronous reloading operation.
Remarks
warning
This method will fetch the latest data from REST API, and replace the current object's properties with the new data.