teleproto - v1.229.0
    Preparing search index...

    Class UserUpdate

    Occurs whenever a user goes online, starts typing, etc.

    client.addEventHandler((event: UserUpdateEvent) => {
    if (event.online) {
    console.log(`${event.userId} is now online!`);
    }
    if (event.typing) {
    console.log(`${event.userId} is typing...`);
    }
    }, new UserUpdate({}));

    Hierarchy

    • EventBuilder
      • UserUpdate
    Index
    blacklistChats: boolean
    chats?: string[]
    func?: CallableFunction
    resolved: boolean