Link Search Menu Expand Document

Constructor: inputPeerUserFromMessage

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: InputPeer

Example:

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