API: Media attachments are now supported

This commit is contained in:
Michael 2020-10-31 16:09:27 +00:00
parent 6b12ef14f5
commit 42d246ef73

View file

@ -239,6 +239,14 @@ abstract class DI
return self::$dice->create(Factory\Api\Mastodon\Account::class); return self::$dice->create(Factory\Api\Mastodon\Account::class);
} }
/**
* @return Factory\Api\Mastodon\Attachment
*/
public static function mstdnAttachment()
{
return self::$dice->create(Factory\Api\Mastodon\Attachment::class);
}
/** /**
* @return Factory\Api\Mastodon\Emoji * @return Factory\Api\Mastodon\Emoji
*/ */