Skip to main content
Go to Latest
function createConversation
import { createConversation } from "https://deno.land/x/grammy_conversations@v1.1.0/conversation.ts";

Takes a conversation builder function, and turns it into grammY middleware which can be installed on your bot. Check out the documentation to learn more about how conversation builder functions can be created.

Parameters

builder: ConversationFn<C>

Conversation builder function

optional
id = [UNSUPPORTED]

Identifier of the conversation, defaults to builder.name

Returns

Middleware to be installed on the bot