MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputPeerUserFromMessage.md
2019-08-15 20:25:16 +02:00

903 B

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

Constructor: inputPeerUserFromMessage

Back to constructors index

User from message

Attributes:

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

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}