Raw.messages.EditChatTitle

Raw.messages.EditChatTitle

Changes chat name and sends a service message on it.

messages.editChatTitle#73783ffd chat_id:long title:string = Updates;
export namespace Raw {
  export namespace messages {
    export class EditChatTitle {
      constructor(params: { chatId: bigint; title: string }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x73783ffd

Property

  • chatId : bigint

    Chat id

  • title : string

    New chat name, different from the old one

Results

Raw.TypeUpdates

Bots can use