Update
Constructor Summary
Public Constructor | ||
public |
constructor(update: *) |
Method Summary
Public Methods | ||
public |
Deletes a status update from the user's buffer |
|
public |
Updates the current status update on the API, then modifies the object to match the edit |
|
public |
Retrieves a singular update with a given ID |
|
public |
getInteractions(params: Object, callback: Function) Gets interactions (e.g. |
|
public |
Moves the current update to the top of the Buffer queue |
|
public |
Saves a status update to the user's buffer |
|
public |
Instantly shares an update to the selected account |
Public Constructors
public constructor(update: *) source
Params:
Name | Type | Attribute | Description |
update | * |
Public Methods
public destroy(callback: Function) source
Deletes a status update from the user's buffer
Params:
Name | Type | Attribute | Description |
callback | Function | The callback to run when the request has been fulfilled |
public edit(params: Object, callback: Function) source
Updates the current status update on the API, then modifies the object to match the edit
public getByID(update_id: Integer, callback: Function) source
Retrieves a singular update with a given ID
Params:
Name | Type | Attribute | Description |
update_id | Integer | The ID of the update to retrieve |
|
callback | Function | The callback to run when the request has been fulfilled |
public getInteractions(params: Object, callback: Function) source
Gets interactions (e.g. retweets) from an update with a given ID
public moveToTop(callback: Function) source
Moves the current update to the top of the Buffer queue
Params:
Name | Type | Attribute | Description |
callback | Function | The callback to run when the request has been fulfilled |