Business handler for answers#
Module of the business answers#
Module of the answers.
- class business_answers.BaseFunctionBusinessAnswerSector(bot, chat_id, action, b_c_id, text_pattern, sticker_pattern, admin_id)[source]#
The basic class-sector of function business answer (by some patterns).
- Parameters:
bot (Bot) –
chat_id (int | str) –
action (str) –
b_c_id (str) –
text_pattern (dict) –
sticker_pattern (str) –
admin_id (int) –
- class business_answers.FunctionBusinessAnswerBotDoesntWorkSector(bot, chat_id, action, b_c_id, text_pattern, sticker_pattern, admin_id)[source]#
The class-sector of function business answer (by pattern “bot doesn’t work”).
- Parameters:
bot (Bot) –
chat_id (int | str) –
action (str) –
b_c_id (str) –
text_pattern (dict) –
sticker_pattern (str) –
admin_id (int) –
- class business_answers.FunctionBusinessAnswerCongratulationSector(bot, chat_id, action, b_c_id, text_pattern, sticker_pattern, admin_id)[source]#
The class-sector of function business answer (by pattern “congratulation”).
- Parameters:
bot (Bot) –
chat_id (int | str) –
action (str) –
b_c_id (str) –
text_pattern (dict) –
sticker_pattern (str) –
admin_id (int) –
- class business_answers.FunctionBusinessAnswerThanksSector(bot, chat_id, action, b_c_id, text_pattern, sticker_pattern, admin_id)[source]#
The class-sector of function business answer (by pattern “thanks”).
- Parameters:
bot (Bot) –
chat_id (int | str) –
action (str) –
b_c_id (str) –
text_pattern (dict) –
sticker_pattern (str) –
admin_id (int) –