sendAsPeer

Indicates a peer that can be used to send messages

Constructor schema is available as of layer 145. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
premium_required flags.0?true Whether a Telegram Premium account is required to send messages as this peer
peer Peer Peer

Type

SendAsPeer