MadelineProtoDocs/old_docs/API_docs_v18/constructors/messageForwarded.md

1.2 KiB

title description image
messageForwarded Message forwarded https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageForwarded

Back to constructors index

Message forwarded

Attributes:

Name Type Required Description
id int Yes ID
fwd_from_id int Yes Forwarded from ID
fwd_date int Yes Forwarded date
from_id int Yes From ID
to_id Peer Yes To ID
date int Yes Date
message string Yes Message
media MessageMedia Optional Media

Type: Message

Example:

$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => 'string', 'media' => MessageMedia];

Or, if you're into Lua:

messageForwarded={_='messageForwarded', id=int, fwd_from_id=int, fwd_date=int, from_id=int, to_id=Peer, date=int, message='string', media=MessageMedia}