Raw.SendAsPeer

Raw.SendAsPeer

Indicates a peer that can be used to send messages

sendAsPeer#b81c7034 flags:# premium_required:flags.0?true peer:Peer = SendAsPeer;
export namespace Raw {
  export class SendAsPeer {
    constructor(params: { premiumRequired?: boolean; peer: Raw.TypePeer }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xb81c7034

Property

  • premiumRequired : boolean or undefined

    Whether a telegram premium account is required to send messages as this peer

  • peer : Raw.TypePeer

    Peer