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)
Causes the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request. https://developer.twitter.com/en/docs/twitter-api/users/blocks/api-reference/post-users-user_id-blocking
func Delete ¶
func Delete(ctx context.Context, c *gotwi.Client, p *types.DeleteInput) (*types.DeleteOutput, error)
Allows a user or authenticated user ID to unblock another user. The request succeeds with no action when the user sends a request to a user they're not blocking or have already unblocked. https://developer.twitter.com/en/docs/twitter-api/users/blocks/api-reference/delete-users-user_id-blocking
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.