createConversation
ref / conversations / createConversation
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.
Type Parameters
C
ts
C extends Context
Parameters
builder
ts
builder: ConversationFn<C>
Conversation builder function
config
ts
config: string | ConversationConfig
Identifier of the conversation or configuration object
Return Type
Middleware to be installed on the bot