# Constructor: inputPeerUserFromMessage

Back to constructors index

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

# Attributes:

Name Type Required Description
peer Username, chat ID, Update, Message or InputPeer Optional The chat where the user was seen
msg_id int Yes The message ID
user_id int Yes The identifier of the user that was seen

# Type: InputPeer

# Example:

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

Or, if you’re into Lua:

inputPeerUserFromMessage={_='inputPeerUserFromMessage', peer=InputPeer, msg_id=int, user_id=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.