Skip to content

Commit

Permalink
lower names
Browse files Browse the repository at this point in the history
  • Loading branch information
nocodeleaks committed May 23, 2024
1 parent 41ec8dd commit cee4b8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/models/qp_send_any_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import (
*/
type QpSendAnyRequest struct {
QpSendRequest

// Url for download content
Url string `json:"url,omitempty"`

// Base64 Embed Content
// Base64 embed content
Content string `json:"content,omitempty"`
}

Expand Down
6 changes: 3 additions & 3 deletions src/models/qp_send_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ type QpSendRequest struct {
Id string `json:"id,omitempty"`

// Recipient of this message
ChatId string `json:"chatId"`
ChatId string `json:"chatid"`

// (Optional) TrackId - less priority (urlparam -> query -> header -> body)
TrackId string `json:"trackId,omitempty"`
TrackId string `json:"trackid,omitempty"`

Text string `json:"text,omitempty"`

// Msg in reply of another ? Message ID
InReply string `json:"inreply,omitempty"`

// (Optional) Sugested filename on user download
FileName string `json:"fileName,omitempty"`
FileName string `json:"filename,omitempty"`

// (Optional) important to navigate throw content
FileLength uint64 `json:"filelength,omitempty"`
Expand Down

0 comments on commit cee4b8b

Please sign in to comment.