Method: Kogno::Telegram::Notification#get_matched_message_id

Defined in:
lib/core/lib/telegram/notification.rb

#get_matched_message_id(id) ⇒ Object



57
58
59
60
# File 'lib/core/lib/telegram/notification.rb', line 57

def get_matched_message_id(id)
  return false unless @recipient.type == :user
  @recipient.matched_messages.find(id).platform_message_id 
end