-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
194 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-Core.package/TCCDocumentMessage.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data-represantation of a single text message in a chat |
6 changes: 6 additions & 0 deletions
6
packages/TelegramClient-Core.package/TCCDocumentMessage.class/class/newFrom..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
instance creation | ||
newFrom: aJsonObject | ||
|
||
^ self new | ||
filename: ((aJsonObject at: 'document') at: 'file_name'); | ||
yourself |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-Core.package/TCCDocumentMessage.class/instance/asSnippet.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
asSnippet | ||
|
||
^ self filename |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-Core.package/TCCDocumentMessage.class/instance/asText.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
asText | ||
|
||
^ self filename |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-Core.package/TCCDocumentMessage.class/instance/filename..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
filename: aString | ||
|
||
filename := aString |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-Core.package/TCCDocumentMessage.class/instance/filename.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
filename | ||
|
||
^ filename |
8 changes: 8 additions & 0 deletions
8
packages/TelegramClient-Core.package/TCCDocumentMessage.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "AH 6/21/2024 14:02" }, | ||
"instance" : { | ||
"asSnippet" : "AH 6/21/2024 13:54", | ||
"asText" : "AH 6/21/2024 13:54", | ||
"filename" : "AH 6/21/2024 13:54", | ||
"filename:" : "AH 6/21/2024 13:55" } } |
14 changes: 14 additions & 0 deletions
14
packages/TelegramClient-Core.package/TCCDocumentMessage.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "TelegramClient-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "<historical>", | ||
"instvars" : [ | ||
"filename" ], | ||
"name" : "TCCDocumentMessage", | ||
"pools" : [ | ||
], | ||
"super" : "TCCMessage", | ||
"type" : "normal" } |
10 changes: 8 additions & 2 deletions
10
packages/TelegramClient-Core.package/TCCImageStore.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"extractPathFrom:" : " 6/22/2024 13:42:57", | ||
"imageFormFrom:" : " 6/22/2024 13:42:57", | ||
"newWith:" : " 6/22/2024 13:42:57" }, | ||
"instance" : { | ||
} } | ||
"core" : " 6/22/2024 13:42:57", | ||
"core:" : " 6/22/2024 13:42:57", | ||
"getFormFor:" : " 6/22/2024 13:42:57", | ||
"getFormPromiseFor:" : " 6/22/2024 13:42:57", | ||
"requestImageFor:with:" : " 6/22/2024 13:42:57" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
packages/TelegramClient-Core.package/TCCStickerStore.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"extractPathFrom:" : " 6/22/2024 13:42:57", | ||
"imageFormFrom:" : " 6/22/2024 13:42:57" }, | ||
"instance" : { | ||
"getFormFor:" : " 6/22/2024 13:42:57", | ||
"getFormPromiseFor:" : " 6/22/2024 13:42:57", | ||
"getVideoFor:" : "JK 6/12/2024 19:48", | ||
"getVideoPromiseFor:" : "JK 6/12/2024 19:56" } } |
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-UI.package/TCUDocumentMessage.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a single text message displayed in a TCUMessageList |
5 changes: 5 additions & 0 deletions
5
packages/TelegramClient-UI.package/TCUDocumentMessage.class/class/getIcon.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
asset | ||
getIcon | ||
|
||
^ (GitAssetLoader for: 'TelegramClient') loadForm: 'file-icon.png' | ||
|
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUDocumentMessage.class/class/maxHeight.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
default values | ||
maxHeight | ||
|
||
^ 200 |
5 changes: 5 additions & 0 deletions
5
packages/TelegramClient-UI.package/TCUDocumentMessage.class/instance/addContent.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
constructing | ||
addContent | ||
|
||
self addIcon. | ||
self addText |
Oops, something went wrong.