LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

floo::BMXForwardAttachment#

Forwarded attachment in message

#include <bmx_forward_attachment.h>

Inherits from floo::BMXMessageAttachment, BMXBaseObject

Public Classes#

Name
classMessage
Custom message to forward attachment

Public Functions#

Name
BMXForwardAttachment()
Constructor
virtual~BMXForwardAttachment()
Destructor
virtual Typetype() const
Attachment type
virtual BMXMessageAttachmentPtrclone() const
Cloning function

Additional inherited members#

Public Types inherited from floo::BMXMessageAttachment

Name
enum classType { Image, Voice, Video, File, Location, Command, Forward}
Attachment type
enum classDownloadStatus { 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

Generated API content with concise AI notes where context helps.