Raw.UpdatePinnedChannelMessages

Raw.UpdatePinnedChannelMessages

Messages were pinned/unpinned in a channel/supergroup

updatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector<int> pts:int pts_count:int = Update;
export namespace Raw {
  export class UpdatePinnedChannelMessages {
    constructor(params: {
      pinned?: boolean;
      channelId: bigint;
      messages: Array<number>;
      pts: number;
      ptsCount: number;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x5bb98608

Property

  • pinned : boolean or undefined

    Whether the messages were pinned or unpinned

  • channelId : bigint

    Channel id

  • messages : Array of number

    Messages

  • pts : number

    Event count after generation

  • ptsCount : number

    Number of events that were generated