I am new to odoo
I have created a custom odoo module, and a telegram bot that connects to odoo's DB with psycopg2 and shows a user some data but now the bot and odoo are two separate services, how can I make telegram bot to run within odoo itself?
And is there an ORM way of odoo to query data without psycpog2 for the telegram bot?
I really appreciate any help you can provide.
I have searched through the internet but no useful info yet