Class: SpreeCmCommissioner::UserIdentityProvider
- Defined in:
- app/models/spree_cm_commissioner/user_identity_provider.rb
Instance Method Summary collapse
-
#telegram_chat_id ⇒ Object
sub is a telegram uid, which telegram considered a chatID if user have /started with bot.
Instance Method Details
#telegram_chat_id ⇒ Object
sub is a telegram uid, which telegram considered a chatID if user have /started with bot.
20 21 22 23 24 |
# File 'app/models/spree_cm_commissioner/user_identity_provider.rb', line 20 def telegram_chat_id return sub if telegram? nil end |