Raw.channels.ReorderPinnedForumTopics

Raw.channels.ReorderPinnedForumTopics

Reorder pinned forum topics

channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:InputChannel order:Vector<int> = Updates;
export namespace Raw {
  export namespace channels {
    export class ReorderPinnedForumTopics {
      constructor(params: {
        force?: boolean;
        channel: Raw.TypeInputChannel;
        order: Array<number>;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x2950a18f

Property

  • force : boolean or undefined

    If not set, the order of only the topics present both server-side and in order will be changed (i.e. mentioning topics not pinned server-side in order will not pin them, and not mentioning topics pinned server-side will not unpin them). if set, the entire server-side pinned topic list will be replaced with order (i.e. mentioning topics not pinned server-side in order will pin them, and not mentioning topics pinned server-side will unpin them)

  • channel : Raw.TypeInputChannel

    Supergroup id

  • order : Array of number

    Topic ids

Results

Raw.TypeUpdates