Constructor: sendAsPeer
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];