sdkfabric / slack
Slack PHP SDK managed by SDK Fabric
Fund package maintenance!
dev-main
2026-10-18 19:51 UTC
Requires
- sdkgen/client: ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-29 22:17:47 UTC
README
This SDK is managed by the SDK Fabric project, a global infrastructure to automatically generate SDKs for every API.
You can find more information about this SDK at TypeHub: https://app.typehub.cloud/d/sdkfabric/slack
Usage
<?php require __DIR__ . '/vendor/autoload.php'; $client = new \SdkFabric\Slack\Client::build('[access_token]'); // Deletes a message from a channel. $response = $client->chat()->delete(new Delete_Message_Request()); // Retrieves a permalink URL for a specific existing message. $response = $client->chat()->getPermalink('channel', 'message_ts'); // Sends an ephemeral message to a user in a channel. $response = $client->chat()->postEphemeral(new Post_Ephemeral_Request()); // Sends a message to a channel. $response = $client->chat()->postMessage(new Post_Message_Request()); // Schedules a message to be sent to a channel at a future time. $response = $client->chat()->scheduleMessage(new Schedule_Message_Request()); // Updates a message in a channel. $response = $client->chat()->update(new Update_Message_Request());