sendAsPeer
Indicates a peer that can be used to send messages
type tg.SendAsPeer struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
PremiumRequired | bool | — | Whether a Telegram Premium account is required to send messages as this peer |
Peer | PeerClass | yes | Peer |
References
- Official documentation
- Generated Go reference
- TL definition:
sendAsPeer#b81c7034