+ Telegram bot: sign up, sign in, notifications + Anonymous users can't see yuan_rate_commission * Only logged in customers can create/update orders * Customer info migrated to separate User model * Renamed legacy fields in serializers * Cleanup in API classes
9 lines
275 B
Python
9 lines
275 B
Python
from telebot.types import ReplyKeyboardMarkup, KeyboardButton
|
|
|
|
from tg_bot.messages import TGCoreMessage
|
|
|
|
|
|
class TGKeyboards:
|
|
SHARE_PHONE = ReplyKeyboardMarkup(resize_keyboard=True) \
|
|
.add(KeyboardButton(TGCoreMessage.SHARE_PHONE_KEYBOARD, request_contact=True))
|