@softvisio/core
Version:
Softisio core
39 lines (31 loc) • 773 B
JavaScript
import TelegramClient from "#lib/api/telegram/client";
export default class extends TelegramClient {
constructor ( clients, { id, "bot": isBot, "static": isStatic, session } = {} ) {
super( {
"apiId": clients.telegram.config.app.apiId,
"apiHash": clients.telegram.config.app.apiHash,
session,
} );
this.
this.
this.
this.
}
// properties
get app () {
return this.
}
get id () {
return this.
}
get isBot () {
return this.
}
get isStatic () {
return this.
}
}