mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
channels.sendAsPeers | A list of peers that can be used to send messages in a specific group | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/channels_sendAsPeers.html |
Constructor: channels.sendAsPeers
A list of peers that can be used to send messages in a specific group
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peers | Array of SendAsPeer | Yes | Peers that can be used to send messages to the group |
chats | Array of Chat | Yes | Mentioned chats |
users | Array of User | Yes | Mentioned users |
Type: channels.SendAsPeers
Example:
$channels_sendAsPeers = ['_' => 'channels.sendAsPeers', 'peers' => [SendAsPeer, SendAsPeer], 'chats' => [Chat, Chat], 'users' => [User, User]];