mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-26 20:35:03 +01:00
544 B
544 B
You can use the following methods to extract information from this constructor:
// Extract an array of Update constructors
$vector_of_update = $MadelineProto->extractUpdates($Updates);
// Extract an updateNewMessage, updateNewChannelMessage, updateEditMessage, updateEditChannelMessage constructor
$message_update = $MadelineProto->extractMessageUpdate($Updates);
// Extract a message constructor
$message = $MadelineProto->extractMessage($Updates);
// Extract a message ID
$message = $MadelineProto->extractMessageId($Updates);