mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
818 B
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
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];