Update
class Update extends BaseObject (View source)
Class Update
Methods
No description
Get an item from the collection by key.
Get recent message.
The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially.
(Optional). New incoming message of any kind - text, photo, sticker, etc.
Details
in
BaseObject at line 19
__construct(
array|mixed $data)
Builds collection entity.
at line 19
array
relations()
in
BaseObject at line 41
mixed|BaseObject
get(
mixed $key,
mixed $default = null)
Get an item from the collection by key.
in
BaseObject at line 55
array|void
mapRelatives()
Map property relatives to appropriate objects.
in
BaseObject at line 80
array|mixed
getRawResponse()
Returns raw response.
in
BaseObject at line 92
mixed
getRawResult($data)
Returns raw result.
in
BaseObject at line 102
mixed
getStatus()
Get Status of request.
in
BaseObject at line 116
mixed
__call($name, $arguments)
Magic method to get properties dynamically.
at line 31
Update
recentMessage()
Get recent message.
at line 14
int
getUpdateId()
The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially.
at line 14
Message
getMessage()
(Optional). New incoming message of any kind - text, photo, sticker, etc.