Sha256: 575fc8895e7008b5be395abcb5dd7df24e5ed628db5f40159bdba648ca513e0c

Contents?: true

Size: 695 Bytes

Versions: 5

Compression:

Stored size: 695 Bytes

Contents

module TD::Types
  # Contains content of a push message notification.
  class PushMessageContent < Base
    %w[
      hidden
      animation
      audio
      contact
      contact_registered
      document
      game
      game_score
      invoice
      location
      photo
      poll
      screenshot_taken
      sticker
      text
      video
      video_note
      voice_note
      basic_group_chat_create
      chat_add_members
      chat_change_photo
      chat_change_title
      chat_delete_member
      chat_join_by_link
      message_forwards
      media_album
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/push_message_content/#{type}"
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content.rb