-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TopMessageListModel component to show top unreaded messages
Update Status component to provide typing status Update NotificationHandler component to show unreadCount Many bugfixes
- Loading branch information
Bardia Daneshvar
committed
May 21, 2016
1 parent
93c9ac0
commit 83e5d35
Showing
24 changed files
with
761 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# SendMessageAction | ||
|
||
* [Component details](#component-details) | ||
* [Normal Properties](#normal-properties) | ||
* [Enumerator](#enumerator) | ||
|
||
|
||
### Component details: | ||
|
||
|Detail|Value| | ||
|------|-----| | ||
|Import|TelegramQml 2.0| | ||
|Component|<font color='#074885'>SendMessageAction</font>| | ||
|C++ class|<font color='#074885'>SendMessageActionObject</font>| | ||
|Inherits|<font color='#074885'>[TypeQObject](typeqobject.md)</font>| | ||
|Model|<font color='#074885'>No</font>| | ||
|
||
|
||
|
||
### Normal Properties | ||
|
||
* <font color='#074885'><b>progress</b></font>: int | ||
* <font color='#074885'><b>core</b></font>: SendMessageAction | ||
* <font color='#074885'><b>classType</b></font>: uint | ||
|
||
|
||
|
||
|
||
### Enumerator | ||
|
||
|
||
##### SendMessageActionClassType | ||
|
||
|Key|Value| | ||
|---|-----| | ||
|TypeSendMessageTypingAction|0| | ||
|TypeSendMessageCancelAction|1| | ||
|TypeSendMessageRecordVideoAction|2| | ||
|TypeSendMessageUploadVideoAction|3| | ||
|TypeSendMessageRecordAudioAction|4| | ||
|TypeSendMessageUploadAudioAction|5| | ||
|TypeSendMessageUploadPhotoAction|6| | ||
|TypeSendMessageUploadDocumentAction|7| | ||
|TypeSendMessageGeoLocationAction|8| | ||
|TypeSendMessageChooseContactAction|9| | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# StatusTyping | ||
|
||
* [Component details](#component-details) | ||
* [Required Properties](#required-properties) | ||
* [Normal Properties](#normal-properties) | ||
* [Signals](#signals) | ||
|
||
|
||
### Component details: | ||
|
||
|Detail|Value| | ||
|------|-----| | ||
|Import|TelegramQml 2.0| | ||
|Component|<font color='#074885'>StatusTyping</font>| | ||
|C++ class|<font color='#074885'>TelegramStatusTyping</font>| | ||
|Inherits|<font color='#074885'>object</font>| | ||
|Model|<font color='#074885'>No</font>| | ||
|
||
|
||
### Required Properties | ||
|
||
* <font color='#074885'><b>peer</b></font>: [InputPeer](https://github.com/Aseman-Land/libqtelegram-aseman-edition/blob/API51/telegram/documents/types/inputpeer.md) | ||
|
||
|
||
### Normal Properties | ||
|
||
* <font color='#074885'><b>action</b></font>: [SendMessageAction](https://github.com/Aseman-Land/libqtelegram-aseman-edition/blob/API51/telegram/documents/types/sendmessageaction.md) | ||
|
||
|
||
|
||
### Signals | ||
|
||
* void <font color='#074885'><b>changed</b></font>() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# TopMessagesModel | ||
|
||
* [Component details](#component-details) | ||
* [Required Properties](#required-properties) | ||
* [Normal Properties](#normal-properties) | ||
* [Enumerator](#enumerator) | ||
* [Methods](#methods) | ||
* [Roles](#roles) | ||
|
||
|
||
### Component details: | ||
|
||
|Detail|Value| | ||
|------|-----| | ||
|Import|TelegramQml 2.0| | ||
|Component|<font color='#074885'>TopMessagesModel</font>| | ||
|C++ class|<font color='#074885'>TelegramTopMessagesModel</font>| | ||
|Inherits|<font color='#074885'>[MessageListModel](messagelistmodel.md)</font>| | ||
|Model|<font color='#074885'>Yes</font>| | ||
|
||
|
||
### Required Properties | ||
|
||
* <font color='#074885'><b>engine</b></font>: [Engine](engine.md) | ||
* <font color='#074885'><b>currentPeer</b></font>: [InputPeer](https://github.com/Aseman-Land/libqtelegram-aseman-edition/blob/API51/telegram/documents/types/inputpeer.md) | ||
|
||
|
||
### Normal Properties | ||
|
||
* <font color='#074885'><b>dialogsLimit</b></font>: int | ||
* <font color='#074885'><b>visibleType</b></font>: int | ||
|
||
|
||
### Methods | ||
|
||
* void <font color='#074885'><b>recheck</b></font>() | ||
|
||
|
||
|
||
### Enumerator | ||
|
||
|
||
##### VisibleTypes | ||
|
||
|Key|Value| | ||
|---|-----| | ||
|VisibleTypeNone|0| | ||
|VisibleTypeChannel|1| | ||
|VisibleTypeChat|2| | ||
|VisibleTypeUser|4| | ||
|VisibleTypeMegaGroup|8| | ||
|VisibleTypeAll|15| | ||
|
||
|
||
### Roles | ||
|
||
* model.<font color='#074885'>item</font> | ||
* model.<font color='#074885'>mediaItem</font> | ||
* model.<font color='#074885'>serviceItem</font> | ||
* model.<font color='#074885'>markupItem</font> | ||
* model.<font color='#074885'>entityList</font> | ||
* model.<font color='#074885'>fromUserItem</font> | ||
* model.<font color='#074885'>toUserItem</font> | ||
* model.<font color='#074885'>toChatItem</font> | ||
* model.<font color='#074885'>toPeerItem</font> | ||
* model.<font color='#074885'>message</font> | ||
* model.<font color='#074885'>dateTime</font> | ||
* model.<font color='#074885'>date</font> | ||
* model.<font color='#074885'>unread</font> | ||
* model.<font color='#074885'>sent</font> | ||
* model.<font color='#074885'>out</font> | ||
* model.<font color='#074885'>replyMsgId</font> | ||
* model.<font color='#074885'>replyMessage</font> | ||
* model.<font color='#074885'>replyPeer</font> | ||
* model.<font color='#074885'>forwardFromPeer</font> | ||
* model.<font color='#074885'>forwardDate</font> | ||
* model.<font color='#074885'>messageType</font> | ||
* model.<font color='#074885'>replyType</font> | ||
* model.<font color='#074885'>fileName</font> | ||
* model.<font color='#074885'>fileMimeType</font> | ||
* model.<font color='#074885'>fileTitle</font> | ||
* model.<font color='#074885'>filePerformer</font> | ||
* model.<font color='#074885'>fileDuration</font> | ||
* model.<font color='#074885'>fileIsVoice</font> | ||
* model.<font color='#074885'>fileSize</font> | ||
* model.<font color='#074885'>downloadable</font> | ||
* model.<font color='#074885'>uploading</font> | ||
* model.<font color='#074885'>downloading</font> | ||
* model.<font color='#074885'>transfaring</font> | ||
* model.<font color='#074885'>transfared</font> | ||
* model.<font color='#074885'>transfaredSize</font> | ||
* model.<font color='#074885'>totalSize</font> | ||
* model.<font color='#074885'>filePath</font> | ||
* model.<font color='#074885'>thumbPath</font> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.