Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, c *gotwi.Client, p *types.CreateInput) (*types.CreateOutput, error)
Allows an authenticated user ID to mute the target user. https://developer.twitter.com/en/docs/twitter-api/users/mutes/api-reference/post-users-user_id-muting
func Delete ¶
func Delete(ctx context.Context, c *gotwi.Client, p *types.DeleteInput) (*types.DeleteOutput, error)
Allows an authenticated user ID to unmute the target user. The request succeeds with no action when the user sends a request to a user they're not muting or have already unmuted. https://developer.twitter.com/en/docs/twitter-api/users/mutes/api-reference/delete-users-user_id-muting
func Lists ¶
func Lists(ctx context.Context, c *gotwi.Client, p *types.ListsInput) (*types.ListsOutput, error)
Returns a list of users who are muted by the specified user ID. https://developer.twitter.com/en/docs/twitter-api/users/mutes/api-reference/get-users-muting
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.