Link Search Menu Expand Document

Constructor: inputUserFromMessage

Back to constructors index

Defines a min user that was seen in a certain message of a certain chat.

Attributes:

NameTypeRequiredDescription
peerUsername, chat ID, Update, Message or InputPeerOptionalThe chat where the user was seen
msg_idintYesThe message ID
user_idlongYesThe identifier of the user that was seen

Type: InputUser

Example:

$inputUserFromMessage = ['_' => 'inputUserFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'user_id' => long];