Link Search Menu Expand Document

Constructor: sendAsPeer

Back to constructors index

Indicates a peer that can be used to send messages

Attributes:

NameTypeRequiredDescription
premium_requiredBoolOptionalWhether a Telegram Premium account is required to send messages as this peer
peerlongYesPeer

Type: SendAsPeer

Example:

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