Add direct message and file upload methods to GroupMe SDK #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Dependency for groupme-mcp#7. Discovered during westside roster session 2026-03-28.
Repo
forgejo_admin/groupme-sdk
User Story
As an MCP tool developer, I want the GroupMe SDK to expose DM and file upload methods so the MCP server can wrap them following the established mixin pattern.
Context
The groupme-mcp wraps groupme-sdk via mixins (GroupsMixin, MembersMixin, MessagesMixin). DM and file upload endpoints exist in the GroupMe API but the SDK has no methods for them. API details documented in project-groupme-westside Known Behaviors section.
API endpoints:
POST /direct_messageswithrecipient_id+text(sends DM)GET /chats(lists DM conversations)POST file.groupme.com/v1/{group_id}/files(uploads file)GET file.groupme.com/v1/{group_id}/uploadStatus?job={id}(poll status)File Targets
src/groupme_sdk/direct_messages.py-- new DirectMessagesMixin:send_dm(recipient_id, text),list_chats()src/groupme_sdk/files.py-- new FilesMixin:upload_file(group_id, file_path, content_type),get_upload_status(group_id, job_id)src/groupme_sdk/client.py-- add new mixins to GroupMeClient classtests/test_direct_messages.py-- unit teststests/test_files.py-- unit testsAcceptance Criteria
send_dm(recipient_id, text)sends a DM and returns message datalist_chats()returns list of DM conversationsupload_file(group_id, file_path, content_type)uploads and returns file_idget_upload_status(group_id, job_id)polls upload statusTest Expectations
Constraints
Checklist
Related