1import QtQuick.tooling 1.1
2
3// This file describes the plugin-supplied types contained in the library.
4// It is used for QML tooling purposes only.
5//
6// This file was auto-generated by:
7// 'qmlplugindump -nonrelocatable TelegramQml 1.0'
8
9Module {
10    Component {
11        name: "AudioObject"
12        prototype: "TqObject"
13        exports: ["TelegramQml/Audio 1.0"]
14        exportMetaObjectRevisions: [0]
15        Property { name: "id"; type: "qlonglong" }
16        Property { name: "dcId"; type: "int" }
17        Property { name: "mimeType"; type: "string" }
18        Property { name: "duration"; type: "int" }
19        Property { name: "date"; type: "int" }
20        Property { name: "size"; type: "int" }
21        Property { name: "accessHash"; type: "qlonglong" }
22        Property { name: "userId"; type: "int" }
23        Property { name: "classType"; type: "uint" }
24        Signal { name: "changed" }
25    }
26    Component {
27        name: "BackgroundManager"
28        prototype: "QObject"
29        exports: ["TelegramQml/BackgroundManager 1.0"]
30        exportMetaObjectRevisions: [0]
31        Property { name: "directory"; type: "QUrl" }
32        Property { name: "dialog"; type: "DialogObject"; isPointer: true }
33        Property { name: "background"; type: "QUrl"; isReadonly: true }
34        Method {
35            name: "setBackground"
36            Parameter { name: "filePath"; type: "string" }
37        }
38    }
39    Component {
40        name: "ChatFullObject"
41        prototype: "TqObject"
42        exports: ["TelegramQml/ChatFull 1.0"]
43        exportMetaObjectRevisions: [0]
44        Property { name: "participants"; type: "ChatParticipantsObject"; isPointer: true }
45        Property { name: "chatPhoto"; type: "PhotoObject"; isPointer: true }
46        Property { name: "id"; type: "int" }
47        Property { name: "notifySettings"; type: "PeerNotifySettingsObject"; isPointer: true }
48        Property { name: "classType"; type: "uint" }
49        Signal { name: "changed" }
50    }
51    Component {
52        name: "ChatObject"
53        prototype: "TqObject"
54        exports: ["TelegramQml/Chat 1.0"]
55        exportMetaObjectRevisions: [0]
56        Property { name: "participantsCount"; type: "int" }
57        Property { name: "id"; type: "int" }
58        Property { name: "version"; type: "int" }
59        Property { name: "venue"; type: "string" }
60        Property { name: "title"; type: "string" }
61        Property { name: "address"; type: "string" }
62        Property { name: "date"; type: "int" }
63        Property { name: "photo"; type: "ChatPhotoObject"; isPointer: true }
64        Property { name: "geo"; type: "GeoPointObject"; isPointer: true }
65        Property { name: "accessHash"; type: "qlonglong" }
66        Property { name: "checkedIn"; type: "bool" }
67        Property { name: "left"; type: "bool" }
68        Property { name: "classType"; type: "uint" }
69        Signal { name: "changed" }
70    }
71    Component {
72        name: "ChatParticipantList"
73        prototype: "QObject"
74        exports: ["TelegramQml/ChatParticipantList 1.0"]
75        exportMetaObjectRevisions: [0]
76        Property { name: "count"; type: "int"; isReadonly: true }
77        Signal { name: "firstChanged" }
78        Signal { name: "lastChanged" }
79        Method {
80            name: "at"
81            type: "ChatParticipantObject*"
82            Parameter { name: "idx"; type: "int" }
83        }
84    }
85    Component {
86        name: "ChatParticipantObject"
87        prototype: "TqObject"
88        exports: ["TelegramQml/ChatParticipant 1.0"]
89        exportMetaObjectRevisions: [0]
90        Property { name: "userId"; type: "int" }
91        Property { name: "date"; type: "int" }
92        Property { name: "inviterId"; type: "int" }
93        Property { name: "classType"; type: "uint" }
94        Signal { name: "changed" }
95    }
96    Component {
97        name: "ChatParticipantsObject"
98        prototype: "TqObject"
99        exports: ["TelegramQml/ChatParticipants 1.0"]
100        exportMetaObjectRevisions: [0]
101        Property { name: "participants"; type: "ChatParticipantList"; isPointer: true }
102        Property { name: "chatId"; type: "int" }
103        Property { name: "version"; type: "int" }
104        Property { name: "adminId"; type: "int" }
105        Property { name: "classType"; type: "uint" }
106        Signal { name: "changed" }
107    }
108    Component {
109        name: "ChatPhotoObject"
110        prototype: "TqObject"
111        exports: ["TelegramQml/ChatPhoto 1.0"]
112        exportMetaObjectRevisions: [0]
113        Property { name: "photoBig"; type: "FileLocationObject"; isPointer: true }
114        Property { name: "photoSmall"; type: "FileLocationObject"; isPointer: true }
115        Property { name: "classType"; type: "uint" }
116        Signal { name: "changed" }
117    }
118    Component {
119        name: "ContactLinkObject"
120        prototype: "TqObject"
121        exports: ["TelegramQml/ContactsForeignLink 1.0"]
122        exportMetaObjectRevisions: [0]
123        Property { name: "classType"; type: "uint" }
124        Signal { name: "changed" }
125    }
126    Component {
127        name: "ContactObject"
128        prototype: "TqObject"
129        exports: ["TelegramQml/Contact 1.0"]
130        exportMetaObjectRevisions: [0]
131        Property { name: "userId"; type: "int" }
132        Property { name: "mutual"; type: "bool" }
133        Property { name: "classType"; type: "uint" }
134        Signal { name: "changed" }
135    }
136    Component {
137        name: "Database"
138        prototype: "QObject"
139        exports: ["TelegramQml/Database 1.0"]
140        exportMetaObjectRevisions: [0]
141        Property { name: "phoneNumber"; type: "string" }
142        Property { name: "configPath"; type: "string" }
143        Signal {
144            name: "userFounded"
145            Parameter { name: "user"; type: "User" }
146        }
147        Signal {
148            name: "chatFounded"
149            Parameter { name: "chat"; type: "Chat" }
150        }
151        Signal {
152            name: "dialogFounded"
153            Parameter { name: "dialog"; type: "Dialog" }
154            Parameter { name: "encrypted"; type: "bool" }
155        }
156        Signal {
157            name: "messageFounded"
158            Parameter { name: "message"; type: "Message" }
159        }
160        Signal {
161            name: "mediaKeyFounded"
162            Parameter { name: "mediaId"; type: "qlonglong" }
163            Parameter { name: "key"; type: "QByteArray" }
164            Parameter { name: "iv"; type: "QByteArray" }
165        }
166        Method {
167            name: "insertUser"
168            Parameter { name: "user"; type: "User" }
169        }
170        Method {
171            name: "insertChat"
172            Parameter { name: "chat"; type: "Chat" }
173        }
174        Method {
175            name: "insertDialog"
176            Parameter { name: "dialog"; type: "Dialog" }
177            Parameter { name: "encrypted"; type: "bool" }
178        }
179        Method {
180            name: "insertMessage"
181            Parameter { name: "message"; type: "Message" }
182        }
183        Method {
184            name: "insertMediaEncryptedKeys"
185            Parameter { name: "mediaId"; type: "qlonglong" }
186            Parameter { name: "key"; type: "QByteArray" }
187            Parameter { name: "iv"; type: "QByteArray" }
188        }
189        Method { name: "readFullDialogs" }
190        Method {
191            name: "readMessages"
192            Parameter { name: "peer"; type: "Peer" }
193            Parameter { name: "offset"; type: "int" }
194            Parameter { name: "limit"; type: "int" }
195        }
196        Method {
197            name: "markMessagesAsRead"
198            Parameter { name: "messages"; type: "QList<qint32>" }
199        }
200        Method {
201            name: "markMessagesAsReadFromMaxDate"
202            Parameter { name: "chatId"; type: "int" }
203            Parameter { name: "maxDate"; type: "int" }
204        }
205        Method {
206            name: "deleteMessage"
207            Parameter { name: "msgId"; type: "qlonglong" }
208        }
209        Method {
210            name: "deleteDialog"
211            Parameter { name: "dlgId"; type: "qlonglong" }
212        }
213        Method {
214            name: "deleteHistory"
215            Parameter { name: "dlgId"; type: "qlonglong" }
216        }
217    }
218    Component {
219        name: "DecryptedMessageActionObject"
220        prototype: "TqObject"
221        exports: ["TelegramQml/DecryptedMessageAction 1.0"]
222        exportMetaObjectRevisions: [0]
223        Property { name: "layer"; type: "int" }
224        Property { name: "randomIds"; type: "QList<qint64>" }
225        Property { name: "ttlSeconds"; type: "int" }
226        Property { name: "startSeqNo"; type: "int" }
227        Property { name: "endSeqNo"; type: "int" }
228        Property { name: "action"; type: "SendMessageActionObject"; isPointer: true }
229        Property { name: "classType"; type: "uint" }
230        Signal { name: "changed" }
231    }
232    Component {
233        name: "DecryptedMessageMediaObject"
234        prototype: "TqObject"
235        exports: ["TelegramQml/DecryptedMessageMedia 1.0"]
236        exportMetaObjectRevisions: [0]
237        Property { name: "thumb"; type: "QByteArray" }
238        Property { name: "thumbW"; type: "int" }
239        Property { name: "thumbH"; type: "int" }
240        Property { name: "duration"; type: "int" }
241        Property { name: "w"; type: "int" }
242        Property { name: "h"; type: "int" }
243        Property { name: "size"; type: "int" }
244        Property { name: "latitude"; type: "double" }
245        Property { name: "longitude"; type: "double" }
246        Property { name: "key"; type: "QByteArray" }
247        Property { name: "iv"; type: "QByteArray" }
248        Property { name: "phoneNumber"; type: "string" }
249        Property { name: "firstName"; type: "string" }
250        Property { name: "lastName"; type: "string" }
251        Property { name: "userId"; type: "int" }
252        Property { name: "fileName"; type: "string" }
253        Property { name: "mimeType"; type: "string" }
254        Property { name: "classType"; type: "uint" }
255        Signal { name: "changed" }
256    }
257    Component {
258        name: "DecryptedMessageObject"
259        prototype: "TqObject"
260        exports: ["TelegramQml/DecryptedMessage 1.0"]
261        exportMetaObjectRevisions: [0]
262        Property { name: "randomId"; type: "qlonglong" }
263        Property { name: "ttl"; type: "int" }
264        Property { name: "randomBytes"; type: "QByteArray" }
265        Property { name: "message"; type: "string" }
266        Property { name: "media"; type: "DecryptedMessageMediaObject"; isPointer: true }
267        Property { name: "action"; type: "DecryptedMessageActionObject"; isPointer: true }
268        Property { name: "classType"; type: "uint" }
269        Signal { name: "changed" }
270    }
271    Component {
272        name: "DialogFilesModel"
273        prototype: "TgAbstractListModel"
274        exports: ["TelegramQml/DialogFilesModel 1.0"]
275        exportMetaObjectRevisions: [0]
276        Enum {
277            name: "FileRoles"
278            values: {
279                "NameRole": 256,
280                "PathRole": 257,
281                "ThumbnailRole": 258,
282                "SuffixRole": 259
283            }
284        }
285        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
286        Property { name: "dialog"; type: "DialogObject"; isPointer: true }
287        Property { name: "count"; type: "int"; isReadonly: true }
288        Method { name: "refresh" }
289    }
290    Component {
291        name: "DialogObject"
292        prototype: "TqObject"
293        exports: ["TelegramQml/Dialog 1.0"]
294        exportMetaObjectRevisions: [0]
295        Property { name: "peer"; type: "PeerObject"; isPointer: true }
296        Property { name: "notifySettings"; type: "PeerNotifySettingsObject"; isPointer: true }
297        Property { name: "topMessage"; type: "int" }
298        Property { name: "unreadCount"; type: "int" }
299        Property { name: "encrypted"; type: "bool" }
300        Property { name: "typingUsers"; type: "QStringList" }
301        Property { name: "classType"; type: "uint" }
302        Signal { name: "changed" }
303    }
304    Component {
305        name: "DocumentAttributeObject"
306        prototype: "QObject"
307        exports: ["TelegramQml/DocumentAttribute 1.0"]
308        exportMetaObjectRevisions: [0]
309        Property { name: "alt"; type: "string" }
310        Property { name: "duration"; type: "int" }
311        Property { name: "fileName"; type: "string" }
312        Property { name: "h"; type: "int" }
313        Property { name: "w"; type: "int" }
314        Property { name: "classType"; type: "uint" }
315        Signal { name: "changed" }
316    }
317    Component {
318        name: "DocumentObject"
319        prototype: "TqObject"
320        exports: ["TelegramQml/Document 1.0"]
321        exportMetaObjectRevisions: [0]
322        Property { name: "id"; type: "qlonglong" }
323        Property { name: "dcId"; type: "int" }
324        Property { name: "mimeType"; type: "string" }
325        Property { name: "thumb"; type: "PhotoSizeObject"; isPointer: true }
326        Property { name: "date"; type: "int" }
327        Property { name: "attributes"; type: "QList<DocumentAttribute>" }
328        Property { name: "accessHash"; type: "qlonglong" }
329        Property { name: "size"; type: "int" }
330        Property { name: "encryptKey"; type: "QByteArray" }
331        Property { name: "encryptIv"; type: "QByteArray" }
332        Property { name: "classType"; type: "uint" }
333        Signal { name: "changed" }
334    }
335    Component {
336        name: "DownloadObject"
337        prototype: "TqObject"
338        exports: ["TelegramQml/Download 1.0"]
339        exportMetaObjectRevisions: [0]
340        Property { name: "fileId"; type: "qlonglong" }
341        Property { name: "location"; type: "string" }
342        Property { name: "mtime"; type: "int" }
343        Property { name: "partId"; type: "int" }
344        Property { name: "downloaded"; type: "int" }
345        Property { name: "total"; type: "int" }
346        Property { name: "file"; type: "QFile"; isPointer: true }
347        Signal { name: "changed" }
348    }
349    Component {
350        name: "EncryptedChatObject"
351        prototype: "TqObject"
352        exports: ["TelegramQml/EncryptedChat 1.0"]
353        exportMetaObjectRevisions: [0]
354        Property { name: "id"; type: "int" }
355        Property { name: "gA"; type: "QByteArray" }
356        Property { name: "keyFingerprint"; type: "qlonglong" }
357        Property { name: "date"; type: "int" }
358        Property { name: "accessHash"; type: "qlonglong" }
359        Property { name: "adminId"; type: "int" }
360        Property { name: "gAOrB"; type: "QByteArray" }
361        Property { name: "participantId"; type: "int" }
362        Property { name: "classType"; type: "uint" }
363        Signal { name: "changed" }
364    }
365    Component {
366        name: "EncryptedFileObject"
367        prototype: "TqObject"
368        exports: ["TelegramQml/EncryptedFile 1.0"]
369        exportMetaObjectRevisions: [0]
370        Property { name: "dcId"; type: "int" }
371        Property { name: "id"; type: "qlonglong" }
372        Property { name: "keyFingerprint"; type: "int" }
373        Property { name: "size"; type: "int" }
374        Property { name: "accessHash"; type: "qlonglong" }
375        Property { name: "classType"; type: "uint" }
376        Signal { name: "changed" }
377    }
378    Component {
379        name: "EncryptedMessageObject"
380        prototype: "TqObject"
381        exports: ["TelegramQml/EncryptedMessage 1.0"]
382        exportMetaObjectRevisions: [0]
383        Property { name: "chatId"; type: "int" }
384        Property { name: "date"; type: "int" }
385        Property { name: "randomId"; type: "qlonglong" }
386        Property { name: "file"; type: "EncryptedFileObject"; isPointer: true }
387        Property { name: "bytes"; type: "QByteArray" }
388        Property { name: "classType"; type: "uint" }
389        Signal { name: "changed" }
390    }
391    Component {
392        name: "FileLocationObject"
393        prototype: "TqObject"
394        exports: ["TelegramQml/FileLocation 1.0"]
395        exportMetaObjectRevisions: [0]
396        Property { name: "download"; type: "DownloadObject"; isPointer: true }
397        Property { name: "id"; type: "qlonglong" }
398        Property { name: "fileName"; type: "string" }
399        Property { name: "mimeType"; type: "string" }
400        Property { name: "localId"; type: "int" }
401        Property { name: "secret"; type: "qlonglong" }
402        Property { name: "dcId"; type: "int" }
403        Property { name: "accessHash"; type: "qlonglong" }
404        Property { name: "volumeId"; type: "qlonglong" }
405        Property { name: "classType"; type: "uint" }
406        Signal { name: "changed" }
407    }
408    Component {
409        name: "GeoChatMessageObject"
410        prototype: "TqObject"
411        exports: ["TelegramQml/GeoChatMessage 1.0"]
412        exportMetaObjectRevisions: [0]
413        Property { name: "id"; type: "int" }
414        Property { name: "action"; type: "MessageActionObject"; isPointer: true }
415        Property { name: "fromId"; type: "int" }
416        Property { name: "date"; type: "int" }
417        Property { name: "media"; type: "MessageMediaObject"; isPointer: true }
418        Property { name: "chatId"; type: "int" }
419        Property { name: "message"; type: "string" }
420        Property { name: "classType"; type: "uint" }
421        Signal { name: "changed" }
422    }
423    Component {
424        name: "GeoPointObject"
425        prototype: "TqObject"
426        exports: ["TelegramQml/GeoPoint 1.0"]
427        exportMetaObjectRevisions: [0]
428        Property { name: "longitude"; type: "double" }
429        Property { name: "lat"; type: "double" }
430        Property { name: "classType"; type: "uint" }
431        Signal { name: "changed" }
432    }
433    Component {
434        name: "InputPeerObject"
435        prototype: "TqObject"
436        exports: ["TelegramQml/InputPeer 1.0"]
437        exportMetaObjectRevisions: [0]
438        Property { name: "chatId"; type: "int" }
439        Property { name: "userId"; type: "int" }
440        Property { name: "accessHash"; type: "qlonglong" }
441        Property { name: "classType"; type: "uint" }
442        Signal { name: "changed" }
443    }
444    Component {
445        name: "MP3ConverterEngine"
446        prototype: "QObject"
447        exports: ["TelegramQml/MP3ConverterEngine 1.0"]
448        exportMetaObjectRevisions: [0]
449        Property { name: "source"; type: "string" }
450        Property { name: "destination"; type: "string" }
451        Property { name: "running"; type: "bool"; isReadonly: true }
452        Signal { name: "finished" }
453        Signal { name: "error" }
454        Method { name: "start" }
455    }
456    Component {
457        name: "MessageActionObject"
458        prototype: "TqObject"
459        exports: ["TelegramQml/MessageAction 1.0"]
460        exportMetaObjectRevisions: [0]
461        Property { name: "address"; type: "string" }
462        Property { name: "userId"; type: "int" }
463        Property { name: "photo"; type: "PhotoObject"; isPointer: true }
464        Property { name: "title"; type: "string" }
465        Property { name: "users"; type: "QList<qint32>" }
466        Property { name: "classType"; type: "uint" }
467        Signal { name: "changed" }
468    }
469    Component {
470        name: "MessageMediaObject"
471        prototype: "TqObject"
472        exports: ["TelegramQml/MessageMedia 1.0"]
473        exportMetaObjectRevisions: [0]
474        Property { name: "audio"; type: "AudioObject"; isPointer: true }
475        Property { name: "lastName"; type: "string" }
476        Property { name: "firstName"; type: "string" }
477        Property { name: "caption"; type: "string" }
478        Property { name: "document"; type: "DocumentObject"; isPointer: true }
479        Property { name: "geo"; type: "GeoPointObject"; isPointer: true }
480        Property { name: "photo"; type: "PhotoObject"; isPointer: true }
481        Property { name: "phoneNumber"; type: "string" }
482        Property { name: "userId"; type: "int" }
483        Property { name: "video"; type: "VideoObject"; isPointer: true }
484        Property { name: "classType"; type: "uint" }
485        Signal { name: "changed" }
486        Signal { name: "bytesChanged" }
487    }
488    Component {
489        name: "MessageObject"
490        prototype: "TqObject"
491        exports: ["TelegramQml/Message 1.0"]
492        exportMetaObjectRevisions: [0]
493        Property { name: "id"; type: "int" }
494        Property { name: "sent"; type: "bool" }
495        Property { name: "encrypted"; type: "bool" }
496        Property { name: "upload"; type: "UploadObject"; isPointer: true }
497        Property { name: "toId"; type: "PeerObject"; isPointer: true }
498        Property { name: "unread"; type: "bool" }
499        Property { name: "action"; type: "MessageActionObject"; isPointer: true }
500        Property { name: "fromId"; type: "int" }
501        Property { name: "out"; type: "bool" }
502        Property { name: "date"; type: "int" }
503        Property { name: "media"; type: "MessageMediaObject"; isPointer: true }
504        Property { name: "fwdDate"; type: "int" }
505        Property { name: "fwdFromId"; type: "int" }
506        Property { name: "replyToMsgId"; type: "int" }
507        Property { name: "message"; type: "string" }
508        Property { name: "classType"; type: "uint" }
509        Signal { name: "changed" }
510    }
511    Component {
512        name: "NotifyPeerObject"
513        prototype: "TqObject"
514        exports: ["TelegramQml/NotifyPeer 1.0"]
515        exportMetaObjectRevisions: [0]
516        Property { name: "peer"; type: "PeerObject"; isPointer: true }
517        Property { name: "classType"; type: "uint" }
518        Signal { name: "changed" }
519    }
520    Component {
521        name: "PeerNotifySettingsObject"
522        prototype: "TqObject"
523        exports: ["TelegramQml/PeerNotifySettings 1.0"]
524        exportMetaObjectRevisions: [0]
525        Property { name: "muteUntil"; type: "int" }
526        Property { name: "eventsMask"; type: "int" }
527        Property { name: "sound"; type: "string" }
528        Property { name: "showPreviews"; type: "bool" }
529        Property { name: "classType"; type: "uint" }
530        Signal { name: "changed" }
531    }
532    Component {
533        name: "PeerObject"
534        prototype: "TqObject"
535        exports: ["TelegramQml/Peer 1.0"]
536        exportMetaObjectRevisions: [0]
537        Property { name: "chatId"; type: "int" }
538        Property { name: "userId"; type: "int" }
539        Property { name: "classType"; type: "uint" }
540        Signal { name: "changed" }
541    }
542    Component {
543        name: "PhotoObject"
544        prototype: "TqObject"
545        exports: ["TelegramQml/Photo 1.0"]
546        exportMetaObjectRevisions: [0]
547        Property { name: "id"; type: "qlonglong" }
548        Property { name: "date"; type: "int" }
549        Property { name: "sizes"; type: "PhotoSizeList"; isPointer: true }
550        Property { name: "geo"; type: "GeoPointObject"; isPointer: true }
551        Property { name: "accessHash"; type: "qlonglong" }
552        Property { name: "userId"; type: "int" }
553        Property { name: "classType"; type: "uint" }
554        Signal { name: "changed" }
555    }
556    Component {
557        name: "PhotoSizeList"
558        prototype: "QObject"
559        exports: ["TelegramQml/PhotoSizeList 1.0"]
560        exportMetaObjectRevisions: [0]
561        Property { name: "first"; type: "PhotoSizeObject"; isReadonly: true; isPointer: true }
562        Property { name: "last"; type: "PhotoSizeObject"; isReadonly: true; isPointer: true }
563        Property { name: "count"; type: "int"; isReadonly: true }
564        Method {
565            name: "at"
566            type: "PhotoSizeObject*"
567            Parameter { name: "idx"; type: "int" }
568        }
569    }
570    Component {
571        name: "PhotoSizeObject"
572        prototype: "TqObject"
573        exports: ["TelegramQml/PhotoSize 1.0"]
574        exportMetaObjectRevisions: [0]
575        Property { name: "h"; type: "int" }
576        Property { name: "type"; type: "string" }
577        Property { name: "bytes"; type: "QByteArray" }
578        Property { name: "location"; type: "FileLocationObject"; isPointer: true }
579        Property { name: "size"; type: "int" }
580        Property { name: "w"; type: "int" }
581        Property { name: "classType"; type: "uint" }
582        Signal { name: "changed" }
583    }
584    Component {
585        name: "ProfilesModel"
586        prototype: "TgAbstractListModel"
587        exports: ["TelegramQml/ProfilesModel 1.0"]
588        exportMetaObjectRevisions: [0]
589        Enum {
590            name: "ProfilesRoles"
591            values: {
592                "NumberRole": 256,
593                "NameRole": 257,
594                "IconRole": 258,
595                "MuteRole": 259,
596                "ItemRole": 260
597            }
598        }
599        Property { name: "count"; type: "int"; isReadonly: true }
600        Property { name: "keys"; type: "QStringList"; isReadonly: true }
601        Property { name: "configPath"; type: "string" }
602        Method {
603            name: "add"
604            type: "ProfilesModelItem*"
605            Parameter { name: "number"; type: "string" }
606        }
607        Method {
608            name: "remove"
609            type: "bool"
610            Parameter { name: "number"; type: "string" }
611        }
612        Method {
613            name: "containt"
614            type: "bool"
615            Parameter { name: "number"; type: "string" }
616        }
617        Method {
618            name: "get"
619            type: "ProfilesModelItem*"
620            Parameter { name: "number"; type: "string" }
621        }
622    }
623    Component {
624        name: "ProfilesModelItem"
625        prototype: "QObject"
626        exports: ["TelegramQml/ProfilesModelItem 1.0"]
627        exportMetaObjectRevisions: [0]
628        Property { name: "number"; type: "string"; isReadonly: true }
629        Property { name: "name"; type: "string" }
630        Property { name: "icon"; type: "string" }
631        Property { name: "mute"; type: "bool" }
632    }
633    Component {
634        name: "QAbstractProxyModel"
635        prototype: "QAbstractItemModel"
636        Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true }
637    }
638    Component {
639        name: "QSortFilterProxyModel"
640        prototype: "QAbstractProxyModel"
641        Property { name: "filterRegExp"; type: "QRegExp" }
642        Property { name: "filterKeyColumn"; type: "int" }
643        Property { name: "dynamicSortFilter"; type: "bool" }
644        Property { name: "filterCaseSensitivity"; type: "Qt::CaseSensitivity" }
645        Property { name: "sortCaseSensitivity"; type: "Qt::CaseSensitivity" }
646        Property { name: "isSortLocaleAware"; type: "bool" }
647        Property { name: "sortRole"; type: "int" }
648        Property { name: "filterRole"; type: "int" }
649        Method {
650            name: "setFilterRegExp"
651            Parameter { name: "pattern"; type: "string" }
652        }
653        Method {
654            name: "setFilterWildcard"
655            Parameter { name: "pattern"; type: "string" }
656        }
657        Method {
658            name: "setFilterFixedString"
659            Parameter { name: "pattern"; type: "string" }
660        }
661        Method { name: "clear" }
662        Method { name: "invalidate" }
663    }
664    Component {
665        name: "SendMessageActionObject"
666        prototype: "TqObject"
667        exports: ["TelegramQml/SendMessageAction 1.0"]
668        exportMetaObjectRevisions: [0]
669        Property { name: "classType"; type: "uint" }
670        Signal { name: "changed" }
671    }
672    Component {
673        name: "StickerPackObject"
674        prototype: "QObject"
675        exports: ["TelegramQml/StickerPack 1.0"]
676        exportMetaObjectRevisions: [0]
677        Property { name: "emoticon"; type: "string" }
678        Property { name: "documents"; type: "QList<qint64>" }
679        Property { name: "classType"; type: "uint" }
680        Signal { name: "changed" }
681    }
682    Component {
683        name: "StickerSetObject"
684        prototype: "QObject"
685        exports: ["TelegramQml/StickerSet 1.0"]
686        exportMetaObjectRevisions: [0]
687        Property { name: "id"; type: "qlonglong" }
688        Property { name: "accessHash"; type: "qlonglong" }
689        Property { name: "title"; type: "string" }
690        Property { name: "shortName"; type: "string" }
691        Property { name: "classType"; type: "uint" }
692        Signal { name: "changed" }
693    }
694    Component {
695        name: "StickersModel"
696        prototype: "TgAbstractListModel"
697        exports: ["TelegramQml/StickersModel 1.0"]
698        exportMetaObjectRevisions: [0]
699        Enum {
700            name: "DialogsRoles"
701            values: {
702                "stickerIdRole": 256,
703                "documentRole": 257,
704                "emoticonRole": 258,
705                "stickerSetNameRole": 259,
706                "stickerSetIdRole": 260,
707                "stickerSetAccessHashRole": 261
708            }
709        }
710        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
711        Property { name: "currentStickerSet"; type: "string" }
712        Property { name: "count"; type: "int"; isReadonly: true }
713        Property { name: "initializing"; type: "bool"; isReadonly: true }
714        Property { name: "installedStickerSets"; type: "QStringList"; isReadonly: true }
715        Property { name: "stickerSets"; type: "QStringList"; isReadonly: true }
716        Method { name: "refresh" }
717        Method {
718            name: "stickerSetThumbnailDocument"
719            type: "DocumentObject*"
720            Parameter { name: "id"; type: "string" }
721        }
722        Method {
723            name: "stickerSetItem"
724            type: "StickerSetObject*"
725            Parameter { name: "id"; type: "string" }
726        }
727    }
728    Component {
729        name: "TagFilterModel"
730        prototype: "TgAbstractListModel"
731        exports: ["TelegramQml/TagFilterModel 1.0"]
732        exportMetaObjectRevisions: [0]
733        Enum {
734            name: "TagFilterRoles"
735            values: {
736                "TagRole": 256
737            }
738        }
739        Property { name: "userData"; type: "UserData"; isPointer: true }
740        Property { name: "keyword"; type: "string" }
741        Property { name: "count"; type: "int"; isReadonly: true }
742        Method { name: "refresh" }
743        Method {
744            name: "get"
745            type: "string"
746            Parameter { name: "idx"; type: "int" }
747        }
748    }
749    Component {
750        name: "TelegramChatParticipantsModel"
751        prototype: "TgAbstractListModel"
752        exports: ["TelegramQml/ChatParticipantsModel 1.0"]
753        exportMetaObjectRevisions: [0]
754        Enum {
755            name: "DialogsRoles"
756            values: {
757                "ItemRole": 256
758            }
759        }
760        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
761        Property { name: "dialog"; type: "DialogObject"; isPointer: true }
762        Property { name: "count"; type: "int"; isReadonly: true }
763        Property { name: "refreshing"; type: "bool"; isReadonly: true }
764        Method { name: "refresh" }
765    }
766    Component {
767        name: "TelegramContactsFilterModel"
768        prototype: "QSortFilterProxyModel"
769        exports: ["TelegramQml/ContactsFilterModel 1.0"]
770        exportMetaObjectRevisions: [0]
771        Property { name: "count"; type: "int"; isReadonly: true }
772        Property { name: "searchTerm"; type: "string" }
773        Method {
774            name: "get"
775            type: "QVariant"
776            Parameter { name: "rowIndex"; type: "int" }
777        }
778    }
779    Component {
780        name: "TelegramContactsModel"
781        prototype: "TgAbstractListModel"
782        exports: ["TelegramQml/ContactsModel 1.0"]
783        exportMetaObjectRevisions: [0]
784        Enum {
785            name: "ContactsRoles"
786            values: {
787                "ItemRole": 256
788            }
789        }
790        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
791        Property { name: "count"; type: "int"; isReadonly: true }
792        Property { name: "initializing"; type: "bool"; isReadonly: true }
793        Method { name: "refresh" }
794    }
795    Component {
796        name: "TelegramDetailedContactsModel"
797        prototype: "TgAbstractListModel"
798        exports: ["TelegramQml/DetailedContactsModel 1.0"]
799        exportMetaObjectRevisions: [0]
800        Enum {
801            name: "DetailedContactsRoles"
802            values: {
803                "ItemRole": 256,
804                "IdRole": 257,
805                "AccessHashRole": 258,
806                "PhoneRole": 259,
807                "FirstNameRole": 260,
808                "LastNameRole": 261,
809                "FullNameRole": 262,
810                "UsernameRole": 263,
811                "PhotoRole": 264,
812                "StatusRole": 265
813            }
814        }
815        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
816        Property { name: "count"; type: "int"; isReadonly: true }
817        Property { name: "initializing"; type: "bool"; isReadonly: true }
818        Method { name: "refresh" }
819    }
820    Component {
821        name: "TelegramDialogsModel"
822        prototype: "TgAbstractListModel"
823        exports: ["TelegramQml/DialogsModel 1.0"]
824        exportMetaObjectRevisions: [0]
825        Enum {
826            name: "DialogsRoles"
827            values: {
828                "ItemRole": 256,
829                "SectionRole": 257
830            }
831        }
832        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
833        Property { name: "count"; type: "int"; isReadonly: true }
834        Property { name: "initializing"; type: "bool"; isReadonly: true }
835        Method { name: "refreshDatabase" }
836        Method {
837            name: "indexOf"
838            type: "int"
839            Parameter { name: "dialog"; type: "DialogObject"; isPointer: true }
840        }
841        Method {
842            name: "at"
843            type: "DialogObject*"
844            Parameter { name: "row"; type: "int" }
845        }
846    }
847    Component {
848        name: "TelegramFileHandler"
849        prototype: "QObject"
850        exports: ["TelegramQml/FileHandler 1.0"]
851        exportMetaObjectRevisions: [0]
852        Enum {
853            name: "ObjectType"
854            values: {
855                "TypeObjectEmpty": 0,
856                "TypeObjectMessage": 1,
857                "TypeObjectPeer": 2,
858                "TypeObjectDialog": 3,
859                "TypeObjectUser": 4,
860                "TypeObjectChat": 5,
861                "TypeObjectFileLocation": 6,
862                "TypeObjectMessageAction": 7,
863                "TypeObjectMessageMedia": 8,
864                "TypeObjectAudio": 9,
865                "TypeObjectDocument": 10,
866                "TypeObjectVideo": 11,
867                "TypeObjectGeoPoint": 12,
868                "TypeObjectContact": 13,
869                "TypeObjectPhoto": 14,
870                "TypeObjectPhotoSizeList": 15,
871                "TypeObjectPhotoSize": 16,
872                "TypeObjectUserProfilePhoto": 17,
873                "TypeObjectChatPhoto": 18
874            }
875        }
876        Enum {
877            name: "ProgressType"
878            values: {
879                "TypeProgressEmpty": 0,
880                "TypeProgressUpload": 1,
881                "TypeProgressDownload": 2
882            }
883        }
884        Enum {
885            name: "TargetType"
886            values: {
887                "TypeTargetUnknown": 0,
888                "TypeTargetMediaPhoto": 1,
889                "TypeTargetMediaAudio": 2,
890                "TypeTargetMediaVideo": 3,
891                "TypeTargetMediaDocument": 4,
892                "TypeTargetMediaGeoPoint": 5,
893                "TypeTargetMediaContact": 6,
894                "TypeTargetMediaOther": 7,
895                "TypeTargetChatPhoto": 8,
896                "TypeTargetUserPhoto": 9,
897                "TypeTargetActionChatPhoto": 10
898            }
899        }
900        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
901        Property { name: "target"; type: "QObject"; isPointer: true }
902        Property { name: "objectType"; type: "int"; isReadonly: true }
903        Property { name: "targetType"; type: "int"; isReadonly: true }
904        Property { name: "progressType"; type: "int"; isReadonly: true }
905        Property { name: "progressTotalByte"; type: "qlonglong"; isReadonly: true }
906        Property { name: "progressCurrentByte"; type: "qlonglong"; isReadonly: true }
907        Property { name: "progressPercent"; type: "double"; isReadonly: true }
908        Property { name: "downloaded"; type: "bool"; isReadonly: true }
909        Property { name: "filePath"; type: "QUrl"; isReadonly: true }
910        Property { name: "thumbPath"; type: "QUrl"; isReadonly: true }
911        Property { name: "isSticker"; type: "bool"; isReadonly: true }
912        Property { name: "imageSize"; type: "QSize"; isReadonly: true }
913        Property { name: "fileSize"; type: "qlonglong"; isReadonly: true }
914        Property { name: "fileName"; type: "string"; isReadonly: true }
915        Property { name: "defaultThumbnail"; type: "QUrl" }
916        Method { name: "cancelProgress"; type: "bool" }
917        Method { name: "download"; type: "bool" }
918    }
919    Component {
920        name: "TelegramMessagesModel"
921        prototype: "TgAbstractListModel"
922        exports: ["TelegramQml/MessagesModel 1.0"]
923        exportMetaObjectRevisions: [0]
924        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
925        Property { name: "dialog"; type: "DialogObject"; isPointer: true }
926        Property { name: "count"; type: "int"; isReadonly: true }
927        Property { name: "initializing"; type: "bool"; isReadonly: true }
928        Property { name: "refreshing"; type: "bool"; isReadonly: true }
929        Property { name: "maxId"; type: "int" }
930        Property { name: "hasNewMessage"; type: "bool"; isReadonly: true }
931        Signal {
932            name: "messageAdded"
933            Parameter { name: "msgId"; type: "qlonglong" }
934        }
935        Signal {
936            name: "focusToNewRequest"
937            Parameter { name: "unreads"; type: "int" }
938        }
939        Method { name: "refresh" }
940        Method {
941            name: "loadMore"
942            Parameter { name: "force"; type: "bool" }
943        }
944        Method { name: "loadMore" }
945        Method {
946            name: "sendMessage"
947            Parameter { name: "msg"; type: "string" }
948            Parameter { name: "inReplyTo"; type: "int" }
949        }
950        Method {
951            name: "sendMessage"
952            Parameter { name: "msg"; type: "string" }
953        }
954        Method { name: "setReaded" }
955        Method { name: "clearNewMessageFlag" }
956        Method {
957            name: "indexOf"
958            type: "int"
959            Parameter { name: "msgId"; type: "qlonglong" }
960        }
961    }
962    Component {
963        name: "TelegramQml"
964        prototype: "QObject"
965        exports: ["TelegramQml/Telegram 1.0"]
966        exportMetaObjectRevisions: [0]
967        Enum {
968            name: "LogLevel"
969            values: {
970                "LogLevelClean": 0,
971                "LogLevelUseful": 1,
972                "LogLevelFull": 2
973            }
974        }
975        Property { name: "defaultHostAddress"; type: "string" }
976        Property { name: "defaultHostPort"; type: "int" }
977        Property { name: "defaultHostDcId"; type: "int" }
978        Property { name: "appId"; type: "int" }
979        Property { name: "appHash"; type: "string" }
980        Property { name: "phoneNumber"; type: "string" }
981        Property { name: "configPath"; type: "string" }
982        Property { name: "publicKeyFile"; type: "QUrl" }
983        Property { name: "downloadPath"; type: "string" }
984        Property { name: "tempPath"; type: "string" }
985        Property { name: "newsLetterDialog"; type: "QObject"; isPointer: true }
986        Property { name: "autoAcceptEncrypted"; type: "bool" }
987        Property { name: "autoCleanUpMessages"; type: "bool" }
988        Property { name: "online"; type: "bool" }
989        Property { name: "unreadCount"; type: "int"; isReadonly: true }
990        Property { name: "totalUploadedPercent"; type: "double"; isReadonly: true }
991        Property { name: "uploadingProfilePhoto"; type: "bool"; isReadonly: true }
992        Property { name: "telegram"; type: "Telegram"; isReadonly: true; isPointer: true }
993        Property { name: "userData"; type: "UserData"; isReadonly: true; isPointer: true }
994        Property { name: "me"; type: "qlonglong"; isReadonly: true }
995        Property { name: "cutegramId"; type: "qlonglong"; isReadonly: true }
996        Property { name: "myUser"; type: "UserObject"; isReadonly: true; isPointer: true }
997        Property { name: "homePath"; type: "string"; isReadonly: true }
998        Property { name: "currentPath"; type: "string"; isReadonly: true }
999        Property { name: "authNeeded"; type: "bool"; isReadonly: true }
1000        Property { name: "authLoggedIn"; type: "bool"; isReadonly: true }
1001        Property { name: "authPhoneRegistered"; type: "bool"; isReadonly: true }
1002        Property { name: "authPhoneInvited"; type: "bool"; isReadonly: true }
1003        Property { name: "authPhoneChecked"; type: "bool"; isReadonly: true }
1004        Property { name: "connected"; type: "bool"; isReadonly: true }
1005        Property { name: "authSignUpError"; type: "string"; isReadonly: true }
1006        Property { name: "authSignInError"; type: "string"; isReadonly: true }
1007        Property { name: "error"; type: "string"; isReadonly: true }
1008        Property { name: "nullDialog"; type: "DialogObject"; isReadonly: true; isPointer: true }
1009        Property { name: "nullMessage"; type: "MessageObject"; isReadonly: true; isPointer: true }
1010        Property { name: "nullChat"; type: "ChatObject"; isReadonly: true; isPointer: true }
1011        Property { name: "nullUser"; type: "UserObject"; isReadonly: true; isPointer: true }
1012        Property { name: "nullWallpaper"; type: "WallPaperObject"; isReadonly: true; isPointer: true }
1013        Property { name: "nullUpload"; type: "UploadObject"; isReadonly: true; isPointer: true }
1014        Property { name: "nullChatFull"; type: "ChatFullObject"; isReadonly: true; isPointer: true }
1015        Property { name: "nullContact"; type: "ContactObject"; isReadonly: true; isPointer: true }
1016        Property { name: "nullLocation"; type: "FileLocationObject"; isReadonly: true; isPointer: true }
1017        Property {
1018            name: "nullEncryptedChat"
1019            type: "EncryptedChatObject"
1020            isReadonly: true
1021            isPointer: true
1022        }
1023        Property {
1024            name: "nullEncryptedMessage"
1025            type: "EncryptedMessageObject"
1026            isReadonly: true
1027            isPointer: true
1028        }
1029        Property { name: "nullSticker"; type: "DocumentObject"; isReadonly: true; isPointer: true }
1030        Property { name: "nullStickerSet"; type: "StickerSetObject"; isReadonly: true; isPointer: true }
1031        Property { name: "nullStickerPack"; type: "StickerPackObject"; isReadonly: true; isPointer: true }
1032        Signal {
1033            name: "dialogsChanged"
1034            Parameter { name: "cachedData"; type: "bool" }
1035        }
1036        Signal {
1037            name: "messagesChanged"
1038            Parameter { name: "cachedData"; type: "bool" }
1039        }
1040        Signal { name: "usersChanged" }
1041        Signal { name: "chatsChanged" }
1042        Signal { name: "wallpapersChanged" }
1043        Signal { name: "uploadsChanged" }
1044        Signal { name: "chatFullsChanged" }
1045        Signal { name: "contactsChanged" }
1046        Signal { name: "autoUpdateChanged" }
1047        Signal { name: "encryptedChatsChanged" }
1048        Signal { name: "installedStickersChanged" }
1049        Signal { name: "stickersChanged" }
1050        Signal {
1051            name: "stickerRecieved"
1052            Parameter { name: "id"; type: "qlonglong" }
1053        }
1054        Signal { name: "invisibleChanged" }
1055        Signal {
1056            name: "phoneChecked"
1057            Parameter { name: "phone"; type: "string" }
1058            Parameter { name: "phoneRegistered"; type: "bool" }
1059        }
1060        Signal { name: "authPasswordProtectedError" }
1061        Signal {
1062            name: "authCodeRequested"
1063            Parameter { name: "phoneRegistered"; type: "bool" }
1064            Parameter { name: "sendCallTimeout"; type: "int" }
1065        }
1066        Signal {
1067            name: "authCallRequested"
1068            Parameter { name: "ok"; type: "bool" }
1069        }
1070        Signal {
1071            name: "authInvitesSent"
1072            Parameter { name: "ok"; type: "bool" }
1073        }
1074        Signal {
1075            name: "accountUsernameChecked"
1076            Parameter { name: "ok"; type: "bool" }
1077        }
1078        Signal {
1079            name: "userBecomeOnline"
1080            Parameter { name: "userId"; type: "qlonglong" }
1081        }
1082        Signal {
1083            name: "userStartTyping"
1084            Parameter { name: "userId"; type: "qlonglong" }
1085            Parameter { name: "dId"; type: "qlonglong" }
1086        }
1087        Signal {
1088            name: "contactsImportedContacts"
1089            Parameter { name: "importedCount"; type: "int" }
1090            Parameter { name: "retryCount"; type: "int" }
1091        }
1092        Signal {
1093            name: "helpGetInviteTextAnswer"
1094            Parameter { name: "id"; type: "qlonglong" }
1095            Parameter { name: "message"; type: "string" }
1096        }
1097        Signal { name: "fakeSignal" }
1098        Signal {
1099            name: "incomingMessage"
1100            Parameter { name: "msg"; type: "MessageObject"; isPointer: true }
1101        }
1102        Signal {
1103            name: "incomingEncryptedMessage"
1104            Parameter { name: "msg"; type: "EncryptedMessageObject"; isPointer: true }
1105        }
1106        Signal {
1107            name: "searchDone"
1108            Parameter { name: "messages"; type: "QList<qint64>" }
1109        }
1110        Signal {
1111            name: "contactsFounded"
1112            Parameter { name: "contacts"; type: "QList<qint32>" }
1113        }
1114        Signal {
1115            name: "errorSignal"
1116            Parameter { name: "id"; type: "qlonglong" }
1117            Parameter { name: "errorCode"; type: "int" }
1118            Parameter { name: "functionName"; type: "string" }
1119            Parameter { name: "errorText"; type: "string" }
1120        }
1121        Method { name: "authLogout" }
1122        Method { name: "authResetAuthorizations" }
1123        Method { name: "authSendCall" }
1124        Method { name: "authSendCode" }
1125        Method {
1126            name: "authSendInvites"
1127            Parameter { name: "phoneNumbers"; type: "QStringList" }
1128            Parameter { name: "inviteText"; type: "string" }
1129        }
1130        Method {
1131            name: "authSignIn"
1132            Parameter { name: "code"; type: "string" }
1133        }
1134        Method {
1135            name: "authSignUp"
1136            Parameter { name: "code"; type: "string" }
1137            Parameter { name: "firstName"; type: "string" }
1138            Parameter { name: "lastName"; type: "string" }
1139        }
1140        Method {
1141            name: "accountRegisterDevice"
1142            Parameter { name: "token"; type: "string" }
1143            Parameter { name: "appVersion"; type: "string" }
1144        }
1145        Method {
1146            name: "accountRegisterDevice"
1147            Parameter { name: "token"; type: "string" }
1148        }
1149        Method {
1150            name: "accountUnregisterDevice"
1151            Parameter { name: "token"; type: "string" }
1152        }
1153        Method {
1154            name: "accountUpdateProfile"
1155            Parameter { name: "firstName"; type: "string" }
1156            Parameter { name: "lastName"; type: "string" }
1157        }
1158        Method {
1159            name: "accountCheckUsername"
1160            Parameter { name: "username"; type: "string" }
1161        }
1162        Method {
1163            name: "accountUpdateUsername"
1164            Parameter { name: "username"; type: "string" }
1165        }
1166        Method {
1167            name: "sendMessage"
1168            Parameter { name: "dialogId"; type: "qlonglong" }
1169            Parameter { name: "msg"; type: "string" }
1170            Parameter { name: "replyTo"; type: "int" }
1171        }
1172        Method {
1173            name: "sendMessage"
1174            Parameter { name: "dialogId"; type: "qlonglong" }
1175            Parameter { name: "msg"; type: "string" }
1176        }
1177        Method {
1178            name: "sendMessageAsDocument"
1179            type: "bool"
1180            Parameter { name: "dialogId"; type: "qlonglong" }
1181            Parameter { name: "msg"; type: "string" }
1182        }
1183        Method {
1184            name: "sendGeo"
1185            Parameter { name: "dialogId"; type: "qlonglong" }
1186            Parameter { name: "latitude"; type: "double" }
1187            Parameter { name: "longitude"; type: "double" }
1188            Parameter { name: "replyTo"; type: "int" }
1189        }
1190        Method {
1191            name: "sendGeo"
1192            Parameter { name: "dialogId"; type: "qlonglong" }
1193            Parameter { name: "latitude"; type: "double" }
1194            Parameter { name: "longitude"; type: "double" }
1195        }
1196        Method {
1197            name: "forwardDocument"
1198            Parameter { name: "dialogId"; type: "qlonglong" }
1199            Parameter { name: "doc"; type: "DocumentObject"; isPointer: true }
1200        }
1201        Method {
1202            name: "addContact"
1203            Parameter { name: "firstName"; type: "string" }
1204            Parameter { name: "lastName"; type: "string" }
1205            Parameter { name: "phoneNumber"; type: "string" }
1206        }
1207        Method {
1208            name: "addContacts"
1209            Parameter { name: "vcontacts"; type: "QVariantList" }
1210        }
1211        Method {
1212            name: "forwardMessages"
1213            Parameter { name: "msgIds"; type: "QList<int>" }
1214            Parameter { name: "peerId"; type: "qlonglong" }
1215        }
1216        Method {
1217            name: "deleteMessages"
1218            Parameter { name: "msgIds"; type: "QList<int>" }
1219        }
1220        Method { name: "deleteCutegramDialog" }
1221        Method {
1222            name: "messagesCreateChat"
1223            Parameter { name: "users"; type: "QList<int>" }
1224            Parameter { name: "topic"; type: "string" }
1225        }
1226        Method {
1227            name: "messagesAddChatUser"
1228            Parameter { name: "chatId"; type: "qlonglong" }
1229            Parameter { name: "userId"; type: "qlonglong" }
1230            Parameter { name: "fwdLimit"; type: "int" }
1231        }
1232        Method {
1233            name: "messagesAddChatUser"
1234            Parameter { name: "chatId"; type: "qlonglong" }
1235            Parameter { name: "userId"; type: "qlonglong" }
1236        }
1237        Method {
1238            name: "messagesDeleteChatUser"
1239            Parameter { name: "chatId"; type: "qlonglong" }
1240            Parameter { name: "userId"; type: "qlonglong" }
1241        }
1242        Method {
1243            name: "messagesEditChatTitle"
1244            Parameter { name: "chatId"; type: "int" }
1245            Parameter { name: "title"; type: "string" }
1246        }
1247        Method {
1248            name: "messagesEditChatPhoto"
1249            Parameter { name: "chatId"; type: "int" }
1250            Parameter { name: "filePath"; type: "string" }
1251        }
1252        Method {
1253            name: "messagesDeleteHistory"
1254            Parameter { name: "peerId"; type: "qlonglong" }
1255        }
1256        Method {
1257            name: "messagesSetTyping"
1258            Parameter { name: "peerId"; type: "qlonglong" }
1259            Parameter { name: "stt"; type: "bool" }
1260        }
1261        Method {
1262            name: "messagesReadHistory"
1263            Parameter { name: "peerId"; type: "qlonglong" }
1264            Parameter { name: "maxDate"; type: "int" }
1265        }
1266        Method {
1267            name: "messagesReadHistory"
1268            Parameter { name: "peerId"; type: "qlonglong" }
1269        }
1270        Method {
1271            name: "messagesCreateEncryptedChat"
1272            Parameter { name: "userId"; type: "qlonglong" }
1273        }
1274        Method {
1275            name: "messagesAcceptEncryptedChat"
1276            Parameter { name: "chatId"; type: "int" }
1277        }
1278        Method {
1279            name: "messagesDiscardEncryptedChat"
1280            Parameter { name: "chatId"; type: "int" }
1281        }
1282        Method {
1283            name: "messagesGetFullChat"
1284            Parameter { name: "chatId"; type: "int" }
1285        }
1286        Method {
1287            name: "installStickerSet"
1288            Parameter { name: "shortName"; type: "string" }
1289        }
1290        Method {
1291            name: "uninstallStickerSet"
1292            Parameter { name: "shortName"; type: "string" }
1293        }
1294        Method {
1295            name: "getStickerSet"
1296            Parameter { name: "shortName"; type: "string" }
1297        }
1298        Method {
1299            name: "search"
1300            Parameter { name: "keyword"; type: "string" }
1301        }
1302        Method {
1303            name: "searchContact"
1304            Parameter { name: "keyword"; type: "string" }
1305        }
1306        Method {
1307            name: "sendFile"
1308            type: "bool"
1309            Parameter { name: "dialogId"; type: "qlonglong" }
1310            Parameter { name: "file"; type: "string" }
1311            Parameter { name: "forceDocument"; type: "bool" }
1312            Parameter { name: "forceAudio"; type: "bool" }
1313        }
1314        Method {
1315            name: "sendFile"
1316            type: "bool"
1317            Parameter { name: "dialogId"; type: "qlonglong" }
1318            Parameter { name: "file"; type: "string" }
1319            Parameter { name: "forceDocument"; type: "bool" }
1320        }
1321        Method {
1322            name: "sendFile"
1323            type: "bool"
1324            Parameter { name: "dialogId"; type: "qlonglong" }
1325            Parameter { name: "file"; type: "string" }
1326        }
1327        Method {
1328            name: "getFile"
1329            Parameter { name: "location"; type: "FileLocationObject"; isPointer: true }
1330            Parameter { name: "type"; type: "qlonglong" }
1331            Parameter { name: "fileSize"; type: "int" }
1332        }
1333        Method {
1334            name: "getFile"
1335            Parameter { name: "location"; type: "FileLocationObject"; isPointer: true }
1336            Parameter { name: "type"; type: "qlonglong" }
1337        }
1338        Method {
1339            name: "getFile"
1340            Parameter { name: "location"; type: "FileLocationObject"; isPointer: true }
1341        }
1342        Method {
1343            name: "getFileJustCheck"
1344            Parameter { name: "location"; type: "FileLocationObject"; isPointer: true }
1345        }
1346        Method {
1347            name: "cancelDownload"
1348            Parameter { name: "download"; type: "DownloadObject"; isPointer: true }
1349        }
1350        Method {
1351            name: "cancelSendGet"
1352            Parameter { name: "fileId"; type: "qlonglong" }
1353        }
1354        Method {
1355            name: "setProfilePhoto"
1356            Parameter { name: "fileName"; type: "string" }
1357        }
1358        Method {
1359            name: "timerUpdateDialogs"
1360            Parameter { name: "duration"; type: "int" }
1361        }
1362        Method { name: "timerUpdateDialogs" }
1363        Method {
1364            name: "timerUpdateContacts"
1365            Parameter { name: "duration"; type: "int" }
1366        }
1367        Method { name: "timerUpdateContacts" }
1368        Method { name: "cleanUpMessages" }
1369        Method { name: "updatesGetState" }
1370        Method { name: "updatesGetDifference" }
1371        Method {
1372            name: "setLogLevel"
1373            Parameter { name: "level"; type: "int" }
1374        }
1375        Method {
1376            name: "authCheckPhone"
1377            Parameter { name: "phone"; type: "string" }
1378        }
1379        Method {
1380            name: "mute"
1381            Parameter { name: "peerId"; type: "qlonglong" }
1382        }
1383        Method {
1384            name: "unmute"
1385            Parameter { name: "peerId"; type: "qlonglong" }
1386        }
1387        Method {
1388            name: "helpGetInviteText"
1389            Parameter { name: "langCode"; type: "string" }
1390        }
1391        Method {
1392            name: "dialog"
1393            type: "DialogObject*"
1394            Parameter { name: "id"; type: "qlonglong" }
1395        }
1396        Method {
1397            name: "message"
1398            type: "MessageObject*"
1399            Parameter { name: "id"; type: "qlonglong" }
1400        }
1401        Method {
1402            name: "chat"
1403            type: "ChatObject*"
1404            Parameter { name: "id"; type: "qlonglong" }
1405        }
1406        Method {
1407            name: "user"
1408            type: "UserObject*"
1409            Parameter { name: "id"; type: "qlonglong" }
1410        }
1411        Method {
1412            name: "messageDialogId"
1413            type: "qlonglong"
1414            Parameter { name: "id"; type: "qlonglong" }
1415        }
1416        Method {
1417            name: "messageDialog"
1418            type: "DialogObject*"
1419            Parameter { name: "id"; type: "qlonglong" }
1420        }
1421        Method {
1422            name: "wallpaper"
1423            type: "WallPaperObject*"
1424            Parameter { name: "id"; type: "qlonglong" }
1425        }
1426        Method {
1427            name: "upload"
1428            type: "MessageObject*"
1429            Parameter { name: "id"; type: "qlonglong" }
1430        }
1431        Method {
1432            name: "chatFull"
1433            type: "ChatFullObject*"
1434            Parameter { name: "id"; type: "qlonglong" }
1435        }
1436        Method {
1437            name: "contact"
1438            type: "ContactObject*"
1439            Parameter { name: "id"; type: "qlonglong" }
1440        }
1441        Method {
1442            name: "encryptedChat"
1443            type: "EncryptedChatObject*"
1444            Parameter { name: "id"; type: "qlonglong" }
1445        }
1446        Method {
1447            name: "sticker"
1448            type: "DocumentObject*"
1449            Parameter { name: "id"; type: "qlonglong" }
1450        }
1451        Method {
1452            name: "stickerSet"
1453            type: "StickerSetObject*"
1454            Parameter { name: "id"; type: "qlonglong" }
1455        }
1456        Method {
1457            name: "stickerPack"
1458            type: "StickerPackObject*"
1459            Parameter { name: "id"; type: "string" }
1460        }
1461        Method {
1462            name: "locationOf"
1463            type: "FileLocationObject*"
1464            Parameter { name: "id"; type: "qlonglong" }
1465            Parameter { name: "dcId"; type: "qlonglong" }
1466            Parameter { name: "accessHash"; type: "qlonglong" }
1467            Parameter { name: "parent"; type: "QObject"; isPointer: true }
1468        }
1469        Method {
1470            name: "locationOfDocument"
1471            type: "FileLocationObject*"
1472            Parameter { name: "doc"; type: "DocumentObject"; isPointer: true }
1473        }
1474        Method {
1475            name: "locationOfVideo"
1476            type: "FileLocationObject*"
1477            Parameter { name: "vid"; type: "VideoObject"; isPointer: true }
1478        }
1479        Method {
1480            name: "locationOfAudio"
1481            type: "FileLocationObject*"
1482            Parameter { name: "aud"; type: "AudioObject"; isPointer: true }
1483        }
1484        Method {
1485            name: "documentIsSticker"
1486            type: "bool"
1487            Parameter { name: "doc"; type: "DocumentObject"; isPointer: true }
1488        }
1489        Method {
1490            name: "documentFileName"
1491            type: "string"
1492            Parameter { name: "doc"; type: "DocumentObject"; isPointer: true }
1493        }
1494        Method {
1495            name: "fakeDialogObject"
1496            type: "DialogObject*"
1497            Parameter { name: "id"; type: "qlonglong" }
1498            Parameter { name: "isChat"; type: "bool" }
1499        }
1500        Method {
1501            name: "fileLocation"
1502            type: "string"
1503            Parameter { name: "location"; type: "FileLocationObject"; isPointer: true }
1504        }
1505        Method {
1506            name: "videoThumbLocation"
1507            type: "string"
1508            Parameter { name: "path"; type: "string" }
1509        }
1510        Method {
1511            name: "audioThumbLocation"
1512            type: "string"
1513            Parameter { name: "path"; type: "string" }
1514        }
1515    }
1516    Component {
1517        name: "TelegramSearchModel"
1518        prototype: "TgAbstractListModel"
1519        exports: ["TelegramQml/SearchModel 1.0"]
1520        exportMetaObjectRevisions: [0]
1521        Enum {
1522            name: "SearchsRoles"
1523            values: {
1524                "ItemRole": 256
1525            }
1526        }
1527        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
1528        Property { name: "count"; type: "int"; isReadonly: true }
1529        Property { name: "initializing"; type: "bool"; isReadonly: true }
1530        Property { name: "keyword"; type: "string" }
1531        Method { name: "refresh" }
1532    }
1533    Component {
1534        name: "TelegramUploadsModel"
1535        prototype: "TgAbstractListModel"
1536        exports: ["TelegramQml/UploadsModel 1.0"]
1537        exportMetaObjectRevisions: [0]
1538        Enum {
1539            name: "UploadsRoles"
1540            values: {
1541                "ItemRole": 256
1542            }
1543        }
1544        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
1545        Property { name: "count"; type: "int"; isReadonly: true }
1546    }
1547    Component {
1548        name: "TelegramWallpapersModel"
1549        prototype: "TgAbstractListModel"
1550        exports: ["TelegramQml/WallpapersModel 1.0"]
1551        exportMetaObjectRevisions: [0]
1552        Enum {
1553            name: "WallpapersRoles"
1554            values: {
1555                "ItemRole": 256
1556            }
1557        }
1558        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
1559        Property { name: "count"; type: "int"; isReadonly: true }
1560        Property { name: "initializing"; type: "bool"; isReadonly: true }
1561    }
1562    Component {
1563        name: "TgAbstractListModel"
1564        prototype: "QAbstractListModel"
1565        Method {
1566            name: "get"
1567            type: "QVariant"
1568            Parameter { name: "index"; type: "int" }
1569            Parameter { name: "role"; type: "int" }
1570        }
1571        Method {
1572            name: "get"
1573            type: "QVariantMap"
1574            Parameter { name: "index"; type: "int" }
1575        }
1576        Method { name: "roles"; type: "QStringList" }
1577    }
1578    Component { name: "TqObject"; prototype: "QObject" }
1579    Component {
1580        name: "UploadObject"
1581        prototype: "TqObject"
1582        exports: ["TelegramQml/Upload 1.0"]
1583        exportMetaObjectRevisions: [0]
1584        Property { name: "fileId"; type: "qlonglong" }
1585        Property { name: "location"; type: "string" }
1586        Property { name: "partId"; type: "int" }
1587        Property { name: "uploaded"; type: "int" }
1588        Property { name: "totalSize"; type: "int" }
1589        Signal { name: "changed" }
1590    }
1591    Component {
1592        name: "UserData"
1593        prototype: "QObject"
1594        exports: ["TelegramQml/UserData 1.0"]
1595        isCreatable: false
1596        exportMetaObjectRevisions: [0]
1597        Enum {
1598            name: "NotifyTypes"
1599            values: {
1600                "NotifyDisabled": 0,
1601                "NotifyOnline": 1,
1602                "NotifyTyping": 2,
1603                "DisableBadges": 4
1604            }
1605        }
1606        Property { name: "phoneNumber"; type: "string" }
1607        Property { name: "configPath"; type: "string" }
1608        Signal {
1609            name: "muteChanged"
1610            Parameter { name: "id"; type: "int" }
1611        }
1612        Signal {
1613            name: "favoriteChanged"
1614            Parameter { name: "id"; type: "int" }
1615        }
1616        Signal {
1617            name: "loadLinkChanged"
1618            Parameter { name: "id"; type: "int" }
1619        }
1620        Signal {
1621            name: "tagsChanged"
1622            Parameter { name: "tag"; type: "string" }
1623        }
1624        Signal {
1625            name: "valueChanged"
1626            Parameter { name: "key"; type: "string" }
1627        }
1628        Signal {
1629            name: "messageUpdateChanged"
1630            Parameter { name: "id"; type: "int" }
1631        }
1632        Signal {
1633            name: "notifyChanged"
1634            Parameter { name: "id"; type: "int" }
1635            Parameter { name: "value"; type: "int" }
1636        }
1637        Method {
1638            name: "setPushToken"
1639            Parameter { name: "token"; type: "string" }
1640        }
1641        Method { name: "pushToken"; type: "string" }
1642        Method {
1643            name: "addMute"
1644            Parameter { name: "id"; type: "int" }
1645        }
1646        Method {
1647            name: "removeMute"
1648            Parameter { name: "id"; type: "int" }
1649        }
1650        Method { name: "mutes"; type: "QList<int>" }
1651        Method {
1652            name: "isMuted"
1653            type: "bool"
1654            Parameter { name: "id"; type: "int" }
1655        }
1656        Method {
1657            name: "addFavorite"
1658            Parameter { name: "id"; type: "int" }
1659        }
1660        Method {
1661            name: "removeFavorite"
1662            Parameter { name: "id"; type: "int" }
1663        }
1664        Method { name: "favorites"; type: "QList<int>" }
1665        Method {
1666            name: "isFavorited"
1667            type: "bool"
1668            Parameter { name: "id"; type: "int" }
1669        }
1670        Method {
1671            name: "addLoadLink"
1672            Parameter { name: "id"; type: "int" }
1673        }
1674        Method {
1675            name: "removeLoadlink"
1676            Parameter { name: "id"; type: "int" }
1677        }
1678        Method { name: "loadLinks"; type: "QList<int>" }
1679        Method {
1680            name: "isLoadLink"
1681            type: "bool"
1682            Parameter { name: "id"; type: "int" }
1683        }
1684        Method {
1685            name: "setNotify"
1686            Parameter { name: "id"; type: "int" }
1687            Parameter { name: "value"; type: "int" }
1688        }
1689        Method {
1690            name: "notify"
1691            type: "int"
1692            Parameter { name: "id"; type: "int" }
1693        }
1694        Method {
1695            name: "addTag"
1696            Parameter { name: "tag"; type: "string" }
1697        }
1698        Method { name: "tags"; type: "QStringList" }
1699        Method {
1700            name: "addMessageUpdate"
1701            Parameter { name: "msg"; type: "MessageUpdate" }
1702        }
1703        Method {
1704            name: "removeMessageUpdate"
1705            Parameter { name: "id"; type: "int" }
1706        }
1707        Method { name: "messageUpdates"; type: "QList<quint64>" }
1708        Method {
1709            name: "messageUpdateItem"
1710            type: "MessageUpdate"
1711            Parameter { name: "id"; type: "int" }
1712        }
1713        Method {
1714            name: "setValue"
1715            Parameter { name: "key"; type: "string" }
1716            Parameter { name: "value"; type: "string" }
1717        }
1718        Method {
1719            name: "value"
1720            type: "string"
1721            Parameter { name: "key"; type: "string" }
1722        }
1723        Method { name: "reconnect" }
1724        Method { name: "disconnect" }
1725    }
1726    Component {
1727        name: "UserNameFilterModel"
1728        prototype: "TgAbstractListModel"
1729        exports: ["TelegramQml/UserNameFilterModel 1.0"]
1730        exportMetaObjectRevisions: [0]
1731        Enum {
1732            name: "FilterRoles"
1733            values: {
1734                "UserIdRole": 256
1735            }
1736        }
1737        Property { name: "telegram"; type: "TelegramQml"; isPointer: true }
1738        Property { name: "dialog"; type: "DialogObject"; isPointer: true }
1739        Property { name: "keyword"; type: "string" }
1740        Property { name: "count"; type: "int"; isReadonly: true }
1741        Method { name: "refresh" }
1742        Method {
1743            name: "get"
1744            type: "qlonglong"
1745            Parameter { name: "idx"; type: "int" }
1746        }
1747    }
1748    Component {
1749        name: "UserObject"
1750        prototype: "TqObject"
1751        exports: ["TelegramQml/User 1.0"]
1752        exportMetaObjectRevisions: [0]
1753        Property { name: "id"; type: "int" }
1754        Property { name: "accessHash"; type: "qlonglong" }
1755        Property { name: "phone"; type: "string" }
1756        Property { name: "firstName"; type: "string" }
1757        Property { name: "photo"; type: "UserProfilePhotoObject"; isPointer: true }
1758        Property { name: "status"; type: "UserStatusObject"; isPointer: true }
1759        Property { name: "lastName"; type: "string" }
1760        Property { name: "username"; type: "string" }
1761        Property { name: "classType"; type: "uint" }
1762        Signal { name: "changed" }
1763        Signal { name: "inactiveChanged" }
1764    }
1765    Component {
1766        name: "UserProfilePhotoObject"
1767        prototype: "TqObject"
1768        exports: ["TelegramQml/UserProfilePhoto 1.0"]
1769        exportMetaObjectRevisions: [0]
1770        Property { name: "photoId"; type: "qlonglong" }
1771        Property { name: "photoBig"; type: "FileLocationObject"; isPointer: true }
1772        Property { name: "photoSmall"; type: "FileLocationObject"; isPointer: true }
1773        Property { name: "classType"; type: "uint" }
1774        Signal { name: "changed" }
1775    }
1776    Component {
1777        name: "UserStatusObject"
1778        prototype: "TqObject"
1779        exports: ["TelegramQml/UserStatus 1.0"]
1780        exportMetaObjectRevisions: [0]
1781        Property { name: "wasOnline"; type: "int" }
1782        Property { name: "expires"; type: "int" }
1783        Property { name: "classType"; type: "uint" }
1784        Signal { name: "changed" }
1785    }
1786    Component {
1787        name: "VideoObject"
1788        prototype: "TqObject"
1789        exports: ["TelegramQml/Video 1.0"]
1790        exportMetaObjectRevisions: [0]
1791        Property { name: "id"; type: "qlonglong" }
1792        Property { name: "dcId"; type: "int" }
1793        Property { name: "date"; type: "int" }
1794        Property { name: "thumb"; type: "PhotoSizeObject"; isPointer: true }
1795        Property { name: "duration"; type: "int" }
1796        Property { name: "h"; type: "int" }
1797        Property { name: "size"; type: "int" }
1798        Property { name: "accessHash"; type: "qlonglong" }
1799        Property { name: "userId"; type: "int" }
1800        Property { name: "w"; type: "int" }
1801        Property { name: "classType"; type: "uint" }
1802        Signal { name: "changed" }
1803    }
1804    Component {
1805        name: "WallPaperObject"
1806        prototype: "TqObject"
1807        exports: ["TelegramQml/WallPaper 1.0"]
1808        exportMetaObjectRevisions: [0]
1809        Property { name: "bgColor"; type: "int" }
1810        Property { name: "color"; type: "int" }
1811        Property { name: "id"; type: "int" }
1812        Property { name: "title"; type: "string" }
1813        Property { name: "sizes"; type: "PhotoSizeList"; isPointer: true }
1814        Property { name: "classType"; type: "uint" }
1815        Signal { name: "changed" }
1816    }
1817}
1818