API: Media attachments are now supported
This commit is contained in:
parent
6b12ef14f5
commit
42d246ef73
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue