Skip to main content
Glama
message.go1.46 kB
package message type GenericResponse struct { MessageID string `json:"message_id"` Status string `json:"status"` } type RevokeRequest struct { MessageID string `json:"message_id" uri:"message_id"` Phone string `json:"phone" form:"phone"` } type DeleteRequest struct { MessageID string `json:"message_id" uri:"message_id"` Phone string `json:"phone" form:"phone"` } type ReactionRequest struct { MessageID string `json:"message_id" form:"message_id"` Phone string `json:"phone" form:"phone"` Emoji string `json:"emoji" form:"emoji"` } type UpdateMessageRequest struct { MessageID string `json:"message_id" uri:"message_id"` Message string `json:"message" form:"message"` Phone string `json:"phone" form:"phone"` } type MarkAsReadRequest struct { MessageID string `json:"message_id" uri:"message_id"` Phone string `json:"phone" form:"phone"` } type StarRequest struct { MessageID string `json:"message_id" uri:"message_id"` Phone string `json:"phone" form:"phone"` IsStarred bool `json:"is_starred"` } type DownloadMediaRequest struct { MessageID string `json:"message_id" uri:"message_id"` Phone string `json:"phone" form:"phone"` } type DownloadMediaResponse struct { MessageID string `json:"message_id"` Status string `json:"status"` MediaType string `json:"media_type"` Filename string `json:"filename"` FilePath string `json:"file_path"` FileSize int64 `json:"file_size"` }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samihalawa/whatsapp-go-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server