Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
add two new vars
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Aug 31, 2018
1 parent 577386e commit 3faf881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion lot.js
Expand Up @@ -12,7 +12,6 @@ class Lot {

toJson () {
return {
id: this.getId(),
state: this.getState(),
text1: this.getText1(),
text1Meaning: this.getText1Meaning(),
Expand Down
2 changes: 2 additions & 0 deletions message.js
Expand Up @@ -102,6 +102,7 @@ class Message {

toJson () {
return {
id: this.getId(),
chatId: this.getChatId(),
duration: this.getDuration(),
fromId: this.getFromId(),
Expand All @@ -110,6 +111,7 @@ class Message {
type: binding.dcn_msg_get_type(this.dc_msg),
state: binding.dcn_msg_get_state(this.dc_msg),
summary: this.getSummary().toJson(),
isSetupmessage: this.isSetupmessage(),
mediaInfo: this.getMediainfo().toJson(),
file: this.getFile()
}
Expand Down

0 comments on commit 3faf881

Please sign in to comment.