floo::BMXForwardAttachment#
Forwarded attachment in message
#include <bmx_forward_attachment.h>
Inherits from floo::BMXMessageAttachment, BMXBaseObject
Public Classes#
| Name | |
|---|---|
| class | Message Custom message to forward attachment |
Public Functions#
| Name | |
|---|---|
| BMXForwardAttachment() Constructor | |
| virtual | ~BMXForwardAttachment() Destructor |
| virtual Type | type() const Attachment type |
| virtual BMXMessageAttachmentPtr | clone() const Cloning function |
Additional inherited members#
Public Types inherited from floo::BMXMessageAttachment
| Name | |
|---|---|
| enum class | Type { Image, Voice, Video, File, Location, Command, Forward} Attachment type |
| enum class | DownloadStatus { Downloaing, Successed, Failed, NotStart, Canceled} Attachment download state |
Public Functions inherited from floo::BMXMessageAttachment
| Name | |
|---|---|
| BMXMessageAttachment() Constructor | |
| virtual | ~BMXMessageAttachment() Destructor |
Public Functions Documentation#
function BMXForwardAttachment#
inline BMXForwardAttachment()
Constructor
Example:
{% lanying_code_snippet repo="lanying-im-embedded",class="BMXForwardAttachment",function="BMXForwardAttachment" %}{% endlanying_code_snippet %}
function ~BMXForwardAttachment#
inline virtual ~BMXForwardAttachment()
Destructor
Example:
{% lanying_code_snippet repo="lanying-im-embedded",class="BMXForwardAttachment",function="~BMXForwardAttachment" %}{% endlanying_code_snippet %}
function type#
inline virtual Type type() const
Attachment type
Return: Type
Reimplements: floo::BMXMessageAttachment::type
Example:
{% lanying_code_snippet repo="lanying-im-embedded",class="BMXForwardAttachment",function="type" %}{% endlanying_code_snippet %}
function clone#
virtual BMXMessageAttachmentPtr clone() const
Cloning function
Return: BMXMessageAttachmentPtr
Reimplements: floo::BMXMessageAttachment::clone
Example:
{% lanying_code_snippet repo="lanying-im-embedded",class="BMXForwardAttachment",function="clone" %}{% endlanying_code_snippet %}
Updated on 2022-01-26 at 17:20:40 +0800