Extensions on
Endpoint.Group.Direct
Properties
conversations
var conversations: Endpoint.Paginated<Swiftagram.Conversation.Collection, String?, Error>
Paginate all approved conversations in your inbox.
recipients
Fetch all suggested recipients.
requests
var requests: Endpoint.Paginated<Swiftagram.Conversation.Collection, String?, Error>
Paginate the pending requests inbox.
Methods
recipients(matching:)
Fetch all recipients, optinally matching a given query.
Parameters
Name | Type | Description |
---|---|---|
query | String |
A valid |
Returns
An Endpoint.Single
.
conversation(_:)
func conversation(_ identifier: String) -> Conversation
A wrapper for conversation endpoints.
Parameters
Name | Type | Description |
---|---|---|
identifier | String |
A valid |
Returns
A valid Conversation
.
conversation(_:)
func conversation(_ identifier: String) -> Endpoint.Single<Swiftagram.Conversation.Unit, Error>
A summary for the current conversation.
Parameters
Name | Type | Description |
---|---|---|
identifier | String |
A valid |
Returns
A valid Endpoint.Single
.