Method: TelegramBot::InputMediaVideo#==
- Defined in:
- lib/telegram-bot/models/input_media_video.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/telegram-bot/models/input_media_video.rb', line 192 def ==(o) return true if self.equal?(o) self.class == o.class && type == o.type && media == o.media && thumbnail == o.thumbnail && caption == o.caption && parse_mode == o.parse_mode && caption_entities == o.caption_entities && width == o.width && height == o.height && duration == o.duration && supports_streaming == o.supports_streaming && has_spoiler == o.has_spoiler end |