-
Notifications
You must be signed in to change notification settings - Fork 0
DmMember
A DM member represents a user's membership in a DmChannel — the link between a participant and a direct-message conversation. The SDK supports full CRUD on DM members.
$client->dmMembers // Matchable\Whop\Resource\DmMemberResource| HTTP | POST dm-members |
| Does | Adds a member to a DM channel. |
| Parameters |
$data — member attributes (e.g. DM channel ID, user ID). |
| Returns | array |
| HTTP | GET dm-members |
| Does | Lists DM members. |
| Parameters |
$query — optional filters / pagination (e.g. by DM channel). |
| Returns | array |
| HTTP | GET dm-members/{id} |
| Does | Retrieves a single DM member by ID. |
| Parameters |
$id — the DM member ID. |
| Returns | array |
| HTTP | PATCH dm-members/{id} |
| Does | Updates a DM member. |
| Parameters |
$id — the DM member ID; $data — fields to change. |
| Returns | array |
| HTTP | DELETE dm-members/{id} |
| Does | Removes a member from a DM channel. |
| Parameters |
$id — the DM member ID. |
| Returns | array |
$member = $client->dmMembers->create([
'dm_channel_id' => 'dm_...',
'user_id' => 'user_...',
]);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification