MadelineProtoDocs/old_docs/API_docs_v102/constructors/inputUserFromMessage.md
2019-06-24 15:45:02 +02:00

879 B

title description image
inputUserFromMessage User from message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputUserFromMessage

Back to constructors index

User from message

Attributes:

Name Type Required Description
peer Username, chat ID, Update, Message or InputPeer Optional Peer
msg_id int Yes Message ID
user_id int Yes User ID

Type: InputUser

Example:

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

Or, if you're into Lua:

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