Class: TD::Types::NotificationType::NewMessage

Inherits:
TD::Types::NotificationType show all
Defined in:
lib/tdlib/types/notification_type/new_message.rb

Overview

New message was received.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messageTD::Types::Message

The message.

Returns:



5
6
7
# File 'lib/tdlib/types/notification_type/new_message.rb', line 5

def message
  @message
end