grammyjs / storages

Storage adapters for grammY sessions.
48 stars 23 forks source link

[Prisma Adapter] Incompatibility with conversations plugin #190

Closed IgordeOliveira closed 10 months ago

IgordeOliveira commented 10 months ago

Seems that the prisma cannot be used with the conversations plugin, look the screenshots of my code: image image

KnorpelSenf commented 10 months ago

This is invalid, the storage adapter has nothing to do with the conversations plugin. You just need to add the session data type to the adapter constructor: PrismaAdapter<SessionData>

roziscoding commented 10 months ago

Closing this since an answer has been provided. @IgordeOliveira reach out to us on the group chat if you are still having difficulties with this :)