* @method Contact getContact() Optional. Message is a shared contact, information about the contact
* @method Location getLocation() Optional. Message is a shared location, information about the location
* @method Venue getVenue() Optional. Message is a venue, information about the venue
* @method User getNewChatMembers() Optional. A new member(s) was added to the group, information about them (one of this members may be the bot itself)
* @method User getLeftChatMember() Optional. A member was removed from the group, information about them (this member may be the bot itself)
* @method string getNewChatTitle() Optional. A chat title was changed to this value
* @method bool getDeleteChatPhoto() Optional. Service message: the chat photo was deleted
...
...
@@ -70,7 +69,7 @@ class Message extends Entity
'contact'=>Contact::class,
'location'=>Location::class,
'venue'=>Venue::class,
'new_chat_member'=>User::class,
'new_chat_members'=>User::class,
'left_chat_member'=>User::class,
'new_chat_photo'=>PhotoSize::class,
'pinned_message'=>Message::class,
...
...
@@ -80,6 +79,8 @@ class Message extends Entity
/**
* Message constructor
*
* @todo: BC stuff should be removed at some point.