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 ListMemberships(ctx context.Context, c *gotwi.Client, p *types.ListMembershipsInput) (*types.ListMembershipsOutput, 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)
Enables the authenticated user to add a member to a List they own. https://developer.twitter.com/en/docs/twitter-api/lists/manage-lists/api-reference/post-lists-id-members
func Delete ¶
func Delete(ctx context.Context, c *gotwi.Client, p *types.DeleteInput) (*types.DeleteOutput, error)
Enables the authenticated user to remove a member from a List they own. https://developer.twitter.com/en/docs/twitter-api/lists/manage-lists/api-reference/delete-lists-id-members-user_id
func List ¶
Returns a list of users who are members of the specified List. https://developer.twitter.com/en/docs/twitter-api/lists/list-members/api-reference/get-lists-id-members
func ListMemberships ¶
func ListMemberships(ctx context.Context, c *gotwi.Client, p *types.ListMembershipsInput) (*types.ListMembershipsOutput, error)
Returns all Lists a specified user is a member of. https://developer.twitter.com/en/docs/twitter-api/lists/list-members/api-reference/get-users-id-list_memberships
Types ¶
This section is empty.