Documentation ¶
Index ¶
- func Create(ctx context.Context, c *gotwi.Client, p *types.CreateInput) (*types.CreateOutput, error)
- func Delete(ctx context.Context, c *gotwi.Client, p *types.DeleteInput) (*types.DeleteOutput, error)
- func List(ctx context.Context, c *gotwi.Client, p *types.ListInput) (*types.ListOutput, error)
- func ListUsers(ctx context.Context, c *gotwi.Client, p *types.ListUsersInput) (*types.ListUsersOutput, error)
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 ID identified in the path parameter to Like the target Tweet. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/post-users-id-likes
func Delete ¶
func Delete(ctx context.Context, c *gotwi.Client, p *types.DeleteInput) (*types.DeleteOutput, error)
Allows a user or authenticated user ID to unlike a Tweet. The request succeeds with no action when the user sends
a request to a user they're not liking the Tweet or have already unliked the Tweet.
func List ¶
Allows you to get information about a user’s liked Tweets. The Tweets returned by this endpoint count towards the Project-level Tweet cap. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-users-id-liked_tweets
func ListUsers ¶
func ListUsers(ctx context.Context, c *gotwi.Client, p *types.ListUsersInput) (*types.ListUsersOutput, error)
Allows you to get information about a Tweet’s liking users. You will receive the most recent 100 users who liked the specified Tweet. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-tweets-id-liking_users
Types ¶
This section is empty.