Added a bunch of methods and documentation, file uploads are broken at the moment.

This commit is contained in:
Netkas 2023-02-14 23:26:41 -05:00
parent 34bcd7c1ef
commit 759928d63a
6 changed files with 239 additions and 15 deletions

View file

@ -1221,9 +1221,9 @@
* Constructs the object from an array representation
*
* @param array $data
* @return ObjectTypeInterface
* @return Message
*/
public static function fromArray(array $data): ObjectTypeInterface
public static function fromArray(array $data): Message
{
$object = new self();

View file

@ -169,9 +169,9 @@
* Constructs the object from an array
*
* @param array $data
* @return ObjectTypeInterface
* @return WebhookInfo
*/
public static function fromArray(array $data): ObjectTypeInterface
public static function fromArray(array $data): WebhookInfo
{
$object = new self();