Skip to main content
Go to Latest
method ConversationHandle.prototype.now
import { ConversationHandle } from "https://deno.land/x/grammy_conversations@v1.1.1/conversation.ts";

Safely gets the value of Date.now(). You should use this instead of Date.now() in your conversation because the time value changes continuously, which may lead to unpredictable and non-deterministic behavior.