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

# NativeFlowButton

> Protobuf class NativeFlowButton generated from WAProto.

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

## Implements

* [`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton)

## Constructors

### new NativeFlowButton()

> **new NativeFlowButton**(`p`?): [`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

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

#### Parameters

##### p?

[`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton)

#### Returns

[`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

## Properties

### buttonParamsJson?

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

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

#### Implementation of

[`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton).[`buttonParamsJson`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton#buttonparamsjson)

***

### name?

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

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

#### Implementation of

[`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton).[`name`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton#name)

## Methods

### create()

> `static` **create**(`properties`?): [`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

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

#### Parameters

##### properties?

[`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton)

#### Returns

[`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

***

### decode()

> `static` **decode**(`r`, `l`?): [`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

***

### encode()

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

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

#### Parameters

##### m

[`INativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/interfaces/INativeFlowButton)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

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

#### Parameters

##### d

#### Returns

[`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`NativeFlowButton`](/proto-reference/Message/InteractiveMessage/NativeFlowMessage/classes/NativeFlowButton)

##### o?

`IConversionOptions`

#### Returns

`object`
