Raw.contacts.Block

Raw.contacts.Block

Adds a peer to a blocklist, see here for more info.

contacts.block#2e2e8734 flags:# my_stories_from:flags.0?true id:InputPeer = Bool;
export namespace Raw {
  export namespace contacts {
    export class Block {
      constructor(params: { myStoriesFrom?: boolean; id: Raw.TypeInputPeer }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x2e2e8734

Property

  • myStoriesFrom : boolean or undefined

    Whether the peer should be added to the story blocklist; if not set, the peer will be added to the main blocklist, see here for more info.

  • id : Raw.TypeInputPeer

    Peer

Results

boolean