class DatabaseSession
extends MemorySession
import { DatabaseSession } from "https://deno.land/x/grm@0.5.1/src/sessions/database_session.ts";
Constructors
new
DatabaseSession(sessionName: string, connectionOptions: ConnectionOptions)Properties
authKey: AuthKey | undefined
Methods
getEntityRowsById(id: string | bigInt.BigInteger, exact?)
getEntityRowsByName(name: string)
getEntityRowsByPhone(phone: string)
getEntityRowsByUsername(username: string)
load()
processEntities(tlo: any)
setDC(): void
dcId: number,
serverAddress: string,
port: number,