> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# AiThreadRenameAction

> Protobuf class AiThreadRenameAction generated from WAProto.

Defined in: [WAProto/index.d.ts:11605](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11605)

## Implements

* [`IAiThreadRenameAction`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction)

## Constructors

### new AiThreadRenameAction()

> **new AiThreadRenameAction**(`p`?): [`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

Defined in: [WAProto/index.d.ts:11606](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11606)

#### Parameters

##### p?

[`IAiThreadRenameAction`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction)

#### Returns

[`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

## Properties

### newTitle?

> `optional` **newTitle**: `null` | `string`

Defined in: [WAProto/index.d.ts:11607](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11607)

#### Implementation of

[`IAiThreadRenameAction`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction).[`newTitle`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction#newtitle)

## Methods

### create()

> `static` **create**(`properties`?): [`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

Defined in: [WAProto/index.d.ts:11608](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11608)

#### Parameters

##### properties?

[`IAiThreadRenameAction`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction)

#### Returns

[`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

***

### decode()

> `static` **decode**(`r`, `l`?): [`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

Defined in: [WAProto/index.d.ts:11610](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11610)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:11609](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11609)

#### Parameters

##### m

[`IAiThreadRenameAction`](/proto-reference/SyncActionValue/interfaces/IAiThreadRenameAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

Defined in: [WAProto/index.d.ts:11611](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11611)

#### Parameters

##### d

#### Returns

[`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:11614](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11614)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:11613](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11613)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:11612](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11612)

#### Parameters

##### m

[`AiThreadRenameAction`](/proto-reference/SyncActionValue/classes/AiThreadRenameAction)

##### o?

`IConversionOptions`

#### Returns

`object`
