MadelineProtoDocs/docs/API_docs/constructors/inputUserFromMessage.md
2024-05-01 14:53:46 +02:00

1.0 KiB

title description nav_exclude image
inputUserFromMessage Defines a min user that was seen in a certain message of a certain chat. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputUserFromMessage

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 long Yes The identifier of the user that was seen

Type: InputUser

Example:

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