@skravets/eapi 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,6 +51,8 @@ interface MessageStored {
|
|
|
51
51
|
is_post: boolean;
|
|
52
52
|
is_forward: boolean;
|
|
53
53
|
thread_id: number | null;
|
|
54
|
+
quote_text: string | null;
|
|
55
|
+
has_attachments: boolean;
|
|
54
56
|
}
|
|
55
57
|
interface PublishersStatusQueueInputChatParsed {
|
|
56
58
|
chat: ChatStored;
|
|
@@ -88,8 +90,12 @@ interface PublishersStatusQueueInputJoin {
|
|
|
88
90
|
};
|
|
89
91
|
account: {
|
|
90
92
|
id: number;
|
|
93
|
+
username?: string;
|
|
94
|
+
firstName?: string;
|
|
95
|
+
lastName?: string;
|
|
91
96
|
};
|
|
92
|
-
status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED";
|
|
97
|
+
status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT";
|
|
98
|
+
seconds?: number;
|
|
93
99
|
}
|
|
94
100
|
interface PublishersStatusQueueInputJoinResult extends PublishersStatusQueueInputJoin {
|
|
95
101
|
type: "chat_join_result";
|
|
@@ -104,12 +110,16 @@ interface PublishersStatusQueueInputSend {
|
|
|
104
110
|
};
|
|
105
111
|
account: {
|
|
106
112
|
id: number;
|
|
113
|
+
username?: string;
|
|
114
|
+
firstName?: string;
|
|
115
|
+
lastName?: string;
|
|
107
116
|
};
|
|
108
117
|
status: "SENT" | "ERROR";
|
|
109
118
|
message?: {
|
|
110
119
|
id: number;
|
|
111
120
|
text: string;
|
|
112
121
|
reply_message_id?: number;
|
|
122
|
+
thread_id?: number;
|
|
113
123
|
};
|
|
114
124
|
}
|
|
115
125
|
interface PublishersStatusQueueInputSendResult extends PublishersStatusQueueInputSend {
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ interface MessageStored {
|
|
|
51
51
|
is_post: boolean;
|
|
52
52
|
is_forward: boolean;
|
|
53
53
|
thread_id: number | null;
|
|
54
|
+
quote_text: string | null;
|
|
55
|
+
has_attachments: boolean;
|
|
54
56
|
}
|
|
55
57
|
interface PublishersStatusQueueInputChatParsed {
|
|
56
58
|
chat: ChatStored;
|
|
@@ -88,8 +90,12 @@ interface PublishersStatusQueueInputJoin {
|
|
|
88
90
|
};
|
|
89
91
|
account: {
|
|
90
92
|
id: number;
|
|
93
|
+
username?: string;
|
|
94
|
+
firstName?: string;
|
|
95
|
+
lastName?: string;
|
|
91
96
|
};
|
|
92
|
-
status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED";
|
|
97
|
+
status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT";
|
|
98
|
+
seconds?: number;
|
|
93
99
|
}
|
|
94
100
|
interface PublishersStatusQueueInputJoinResult extends PublishersStatusQueueInputJoin {
|
|
95
101
|
type: "chat_join_result";
|
|
@@ -104,12 +110,16 @@ interface PublishersStatusQueueInputSend {
|
|
|
104
110
|
};
|
|
105
111
|
account: {
|
|
106
112
|
id: number;
|
|
113
|
+
username?: string;
|
|
114
|
+
firstName?: string;
|
|
115
|
+
lastName?: string;
|
|
107
116
|
};
|
|
108
117
|
status: "SENT" | "ERROR";
|
|
109
118
|
message?: {
|
|
110
119
|
id: number;
|
|
111
120
|
text: string;
|
|
112
121
|
reply_message_id?: number;
|
|
122
|
+
thread_id?: number;
|
|
113
123
|
};
|
|
114
124
|
}
|
|
115
125
|
interface PublishersStatusQueueInputSendResult extends PublishersStatusQueueInputSend {
|