Animation
Object Hierarchy:
Description:
public class Animation :
Error
Describes an animation file. The animation must be encoded in GIF or MPEG4 format
Content:
Properties:
- public File animation { get; set construct; }
File containing the animation
- public int32 duration { get; set construct; }
Duration of the animation, in seconds; as defined by the sender
- public string file_name { get; set construct; }
Original name of the file; as defined by the sender
- public bool has_stickers { get; set construct; }
- public int32 height { get; set construct; }
Height of the animation
- public string mime_type { get; set construct; }
MIME type of the file, usually "image/gif" or "video/mp4"
- public Minithumbnail? minithumbnail { get; set construct; }
Animation minithumbnail; may be null
- public Thumbnail? thumbnail { get; set construct; }
Animation thumbnail in JPEG or MPEG4 format; may be null
- public int32 width { get; set construct; }
Width of the animation
Creation methods:
- public Animation (int32 duration, int32 width, int32 height, string file_name, string mime_type, bool has_stickers, Minithumbnail? minithumbnail, Thumbnail? thumbnail, File animation)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref