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

818 B

title description nav_exclude image
sendAsPeer Indicates a peer that can be used to send messages true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: sendAsPeer

Back to constructors index

Indicates a peer that can be used to send messages

Attributes:

Name Type Required Description
premium_required Bool Optional Whether a Telegram Premium account is required to send messages as this peer
peer long Yes Peer

Type: SendAsPeer

Example:

$sendAsPeer = ['_' => 'sendAsPeer', 'premium_required' => Bool, 'peer' => long];