PHP Class seregazhuk\PinterestBot\Api\Providers\Conversations

Inheritance: extends Provider
显示文件 Open project: seregazhuk/php-pinterest-bot Class Usage Examples

Protected Properties

Property Type Description
$loginRequiredFor array

Public Methods

Method Description
last ( ) : array | boolean Get last user conversations.
sendEmail ( array | string $emails, string $text, integer | null $pinId = null ) : boolean Send email.
sendMessage ( array | string $userIds, string $text, integer | null $pinId = null ) : boolean Send message to a user.

Method Details

last() public method

Get last user conversations.
public last ( ) : array | boolean
return array | boolean

sendEmail() public method

Send email.
public sendEmail ( array | string $emails, string $text, integer | null $pinId = null ) : boolean
$emails array | string
$text string
$pinId integer | null
return boolean

sendMessage() public method

Send message to a user.
public sendMessage ( array | string $userIds, string $text, integer | null $pinId = null ) : boolean
$userIds array | string
$text string
$pinId integer | null
return boolean

Property Details

$loginRequiredFor protected_oe property

protected array $loginRequiredFor
return array