class StartButton extends Message implements ProfileInterface (View source)

Class StartButton

Traits

Class RequestType

Methods

__construct($payload)

StartButton constructor.

mixed
getSender()

Get sender id

from Message
array
toData()

Message to send

$this
usePost()

Use post type

$this
useGet()

Use get type

$this
useDelete()

Use delete type

string
getCurlType()

Get request type

Details

__construct($payload)

StartButton constructor.

Parameters

$payload

mixed getSender()

Get sender id

Return Value

mixed

array toData()

Message to send

Return Value

array

$this usePost()

Use post type

Return Value

$this

$this useGet()

Use get type

Return Value

$this

$this useDelete()

Use delete type

Return Value

$this

string getCurlType()

Get request type

Return Value

string