Skip to content

Commit

Permalink
Export events like you export another things
Browse files Browse the repository at this point in the history
  • Loading branch information
vanodevium committed Dec 25, 2024
1 parent c6eca75 commit 7307347
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gramjs/events/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
export { Raw } from "./Raw";
export { NewMessage, NewMessageEvent } from "./NewMessage";
export { EditedMessage, EditedMessageEvent } from "./EditedMessage";
export { DeletedMessage, DeletedMessageEvent } from "./DeletedMessage";
export { CallbackQuery, CallbackQueryEvent } from "./CallbackQuery";
export { Album, AlbumEvent } from "./Album";
14 changes: 13 additions & 1 deletion gramjs/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
export { Api } from "./tl";
import * as tl from "./tl";

export { TelegramClient } from "./client/TelegramClient";
export { Connection } from "./network";
export { version } from "./Version";
export { Logger } from "./extensions/Logger";
import * as utils from "./Utils";
import * as errors from "./errors";
import * as events from "./events";
import * as sessions from "./sessions";
import * as extensions from "./extensions";
import * as helpers from "./Helpers";
import * as client from "./client";
import * as password from "./Password";

export { utils, errors, sessions, extensions, helpers, tl, password, client };
export {
utils,
errors,
events,
sessions,
extensions,
helpers,
tl,
password,
client,
};

0 comments on commit 7307347

Please sign in to comment.