15 lines
269 B
Crystal
15 lines
269 B
Crystal
|
require "json"
|
||
|
require "./photo_size.cr"
|
||
|
|
||
|
module Telepathy
|
||
|
class VideoNote
|
||
|
JSON.mapping(
|
||
|
file_id: String,
|
||
|
length: Int64,
|
||
|
duration: Int64,
|
||
|
thumb: PhotoSize?,
|
||
|
file_size: Int64?
|
||
|
)
|
||
|
end
|
||
|
end
|