GET

/api/v1/conversations

Request Code

Last Update : 2019.07.17
// set request
$request = new \MastodonApi\Conversations\GetRequest();
$request->max_id = '{max_id}';
$request->since_id = '{since_id}';
$request->min_id = '{min_id}';
$request->limit = {limit};
$mastodonApi->conversations->get($request);

Response Data

Last Update : 2019.07.17
Array
(
	[0] => MastodonApi\Entities\Conversation Object
	(
		[id] => {id}
		[accounts] => Array
		(
		)
		[last_status] => MastodonApi\Entities\Status Object
		(
		)
		[unread] => {unread}
	)
)

AdSense