Skip to content

Commit

Permalink
fixed sendDocument request and removed webp from picture types
Browse files Browse the repository at this point in the history
  • Loading branch information
jkubuni committed Jun 26, 2024
1 parent 9ff61ab commit cd2e594
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ newSendDocumentMessage: aDocumentPath to: aChatId
'chat_id' -> aChatId.
'input_message_content' -> (Dictionary newFrom: {
'@type' -> 'inputMessageDocument'.
'photo' -> (Dictionary newFrom: {
'document' -> (Dictionary newFrom: {
'@type' -> 'inputFileLocal'.
'path' -> aDocumentPath.
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"newRequestFile:" : "JB 8/1/2021 11:35",
"newRequestSticker:" : "JK 5/16/2024 21:39",
"newSearchChatFrom:" : "RS 6/23/2021 16:38",
"newSendDocumentMessage:to:" : "ED 6/19/2024 13:52",
"newSendDocumentMessage:to:" : "JK 6/26/2024 14:29",
"newSendFileMessage:to:" : "ED 6/19/2024 13:51",
"newSendMessage:to:" : "6/7/2024 09:02:10",
"newSendMessage:to:asReplyTo:" : "JS 5/20/2022 10:02",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buttonFileSelectPressed

| fileEnding fileObject videoEndings photoEndings|

photoEndings := #('jpg' 'jpeg' 'png' 'webp' 'gif' 'bmp').
photoEndings := #('jpg' 'jpeg' 'png' 'gif' 'bmp').
videoEndings := #('mp4' 'webm' 'mov' 'avi').

fileObject := (FileChooser new initializeAsDialogBox open).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"addTextInputField" : "jkon 6/17/2024 09:58",
"addTitleBar" : "RS 5/29/2021 18:12",
"addWelcomeMessage" : "RK 8/4/2021 12:07",
"buttonFileSelectPressed" : "ED 6/19/2024 13:54",
"buttonFileSelectPressed" : "JK 6/26/2024 14:30",
"buttonSendPressed" : "ek 6/19/2022 19:07",
"buttonStickerPressed" : "AH 6/23/2024 13:00",
"chatMessageList" : "JB 7/6/2021 14:02",
Expand Down

0 comments on commit cd2e594

Please sign in to comment.