| Methods Summary | ||
|---|---|---|
public
|
||
public
|
||
public
|
||
public
|
#
findByCustomField( int $field_id , string|int|null $field_value )
Finds subscribers by custom field value
see |
|
public
|
||
public
|
||
public
|
||
public
|
#
removeTagByName( int $subscriber_id , string $tag_name )
Removes tag by its name from the subscriber
see |
|
public
|
#
setCustomField( int $subscriber_id , int $field_id , string|int|null $field_value )
Sets custom field value by its ID to the subscriber
see |
|
public
|
#
setCustomFieldByName( int $subscriber_id , string $field_name , string|int|null $field_value )
Sets custom field value by its name to the subscriber
see |
|
public
|
#
verifyBySignedRequest( int $subscriber_id , string $signed_request )
Verifies subscriber by signed request
see |
|
public
|
#
createSubscriber( bool $has_opt_in_sms , bool $has_opt_in_email , string $consent_phrase , string $phone , string $email , string $first_name = NULL, string $last_name = NULL, string $gender = NULL )
Create new subscriber
`phone` or `email` fields is required
field `consent_phrase` is required only if has_opt_in is true
see |
|
| Methods inherited from ManyChat\API\NamedAPIStructure |
|---|
__construct()
|
| Methods inherited from ManyChat\API\APIStructure |
|---|
__construct(),
__get(),
__set(),
__isset(),
getName(),
setName(),
getApi(),
setApi(),
getParent(),
setParent(),
getMethodAddress(),
__call()
|