direct_message-incoming_with_media.yml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. --- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  2. for_user_id: '2975699229'
  3. direct_message_events:
  4. - !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  5. type: message_create
  6. id: '1209117907864571908'
  7. created_timestamp: '1577111148216'
  8. message_create: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  9. target: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  10. recipient_id: '2975699229'
  11. sender_id: '1205290247124217856'
  12. message_data: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  13. text: " https://t.co/amoKo1v19w"
  14. entities: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  15. hashtags: []
  16. symbols: []
  17. user_mentions: []
  18. urls:
  19. - !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  20. url: https://t.co/amoKo1v19w
  21. expanded_url: https://twitter.com/messages/media/1209117907864571908
  22. display_url: pic.twitter.com/amoKo1v19w
  23. indices:
  24. - 1
  25. - 24
  26. attachment: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  27. type: media
  28. media: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  29. id: 1209117874389843969
  30. id_str: '1209117874389843969'
  31. indices:
  32. - 1
  33. - 24
  34. media_url: https://pbs.twimg.com/dm_gif_preview/1209117874389843969/Lgs2ZRqicjZjx6kFdwQcu2T5rmEq7br_m8QKHj-RybsPv0yeq5.jpg
  35. media_url_https: https://pbs.twimg.com/dm_gif_preview/1209117874389843969/Lgs2ZRqicjZjx6kFdwQcu2T5rmEq7br_m8QKHj-RybsPv0yeq5.jpg
  36. url: https://t.co/amoKo1v19w
  37. display_url: pic.twitter.com/amoKo1v19w
  38. expanded_url: https://twitter.com/messages/media/1209117907864571908
  39. type: animated_gif
  40. sizes: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  41. small: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  42. w: 270
  43. h: 480
  44. resize: fit
  45. thumb: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  46. w: 150
  47. h: 150
  48. resize: crop
  49. medium: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  50. w: 270
  51. h: 480
  52. resize: fit
  53. large: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  54. w: 270
  55. h: 480
  56. resize: fit
  57. video_info: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  58. aspect_ratio:
  59. - 9
  60. - 16
  61. variants:
  62. - !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  63. bitrate: 0
  64. content_type: video/mp4
  65. url: https://video.twimg.com/dm_gif/1209117874389843969/Lgs2ZRqicjZjx6kFdwQcu2T5rmEq7br_m8QKHj-RybsPv0yeq5.mp4
  66. users: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  67. '1205290247124217856': !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  68. id: '1205290247124217856'
  69. created_timestamp: '1576198570797'
  70. name: pennbrooke
  71. screen_name: pennbrooke1
  72. location: London
  73. description: More like penn-broke, amirite?
  74. url: https://t.co/Y9Umsm0AJJ
  75. protected: false
  76. verified: false
  77. followers_count: 0
  78. friends_count: 1
  79. statuses_count: 8
  80. profile_image_url: http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
  81. profile_image_url_https: https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
  82. '2975699229': !ruby/hash:ActiveSupport::HashWithIndifferentAccess
  83. id: '2975699229'
  84. created_timestamp: '1421116717416'
  85. name: Ryan Lue
  86. screen_name: ScruffyMcG
  87. location: Taipei
  88. description: I like turtles.
  89. url: https://t.co/Y9Umsm0AJJ
  90. protected: false
  91. verified: false
  92. followers_count: 31
  93. friends_count: 56
  94. statuses_count: 7
  95. profile_image_url: http://pbs.twimg.com/profile_images/877073703330238464/fnxECj4z_normal.jpg
  96. profile_image_url_https: https://pbs.twimg.com/profile_images/877073703330238464/fnxECj4z_normal.jpg
  97. controller: channels_twitter
  98. action: webhook_incoming