📄 skype4py.chat.ichatmessage-class.html
字号:
<?xml version="1.0" encoding="ascii"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title>Skype4Py.chat.IChatMessage</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script></head><body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"><!-- ==================== NAVIGATION BAR ==================== --><table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="Skype4Py-module.html">Home</a> </th> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="https://developer.skype.com/wiki/Skype4Py">Skype4Py</a></th> </tr></table></th> </tr></table><table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="Skype4Py-module.html">Package Skype4Py</a> :: <a href="Skype4Py.chat-module.html">Module chat</a> :: Class IChatMessage </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >] | <a href="Skype4Py.chat.IChatMessage-class.html" target="_top">no frames</a>]</span></td></tr> </table> </td> </tr></table><!-- ==================== CLASS DESCRIPTION ==================== --><h1 class="epydoc">Class IChatMessage</h1><p class="nomargin-top"><span class="codelink"><a href="Skype4Py.chat-pysrc.html#IChatMessage">source code</a></span></p><pre class="base-tree"> object --+ | <a href="Skype4Py.utils.Cached-class.html">utils.Cached</a> --+ | <strong class="uidshort">IChatMessage</strong></pre><hr /><p>Represents a single chat message.</p><!-- ==================== INSTANCE METHODS ==================== --><a name="section-InstanceMethods"></a><table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header"> <td align="left" colspan="2" class="table-header"> <span class="table-header">Instance Methods</span></td></tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="Skype4Py.chat.IChatMessage-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> repr(x)</td> <td align="right" valign="top"> <span class="codelink"><a href="Skype4Py.chat-pysrc.html#IChatMessage.__repr__">source code</a></span> </td> </tr> </table> </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="MarkAsSeen"></a><span class="summary-sig-name">MarkAsSeen</span>(<span class="summary-sig-arg">self</span>)</span><br /> Marks a missed chat message as seen.</td> <td align="right" valign="top"> <span class="codelink"><a href="Skype4Py.chat-pysrc.html#IChatMessage.MarkAsSeen">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="Skype4Py.utils.Cached-class.html">utils.Cached</a></code></b>: <code><a href="Skype4Py.utils.Cached-class.html#__copy__">__copy__</a></code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__delattr__</code>, <code>__format__</code>, <code>__getattribute__</code>, <code>__hash__</code>, <code>__init__</code>, <code>__reduce__</code>, <code>__reduce_ex__</code>, <code>__setattr__</code>, <code>__sizeof__</code>, <code>__str__</code>, <code>__subclasshook__</code> </p> </td> </tr></table><!-- ==================== STATIC METHODS ==================== --><a name="section-StaticMethods"></a><table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header"> <td align="left" colspan="2" class="table-header"> <span class="table-header">Static Methods</span></td></tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="Skype4Py.utils.Cached-class.html">utils.Cached</a></code></b>: <code><a href="Skype4Py.utils.Cached-class.html#__new__">__new__</a></code> </p> </td> </tr></table><!-- ==================== CLASS VARIABLES ==================== --><a name="section-ClassVariables"></a><table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header"> <td align="left" colspan="2" class="table-header"> <span class="table-header">Class Variables</span></td></tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="Skype4Py.utils.Cached-class.html">utils.Cached</a></code></b>: <code><a href="Skype4Py.utils.Cached-class.html#_cache_">_cache_</a></code> </p> </td> </tr></table><!-- ==================== PROPERTIES ==================== --><a name="section-Properties"></a><table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header"> <td align="left" colspan="2" class="table-header"> <span class="table-header">Properties</span></td></tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">unicode</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Body" class="summary-name">Body</a><br /> Chat message body. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"><a href="Skype4Py.chat.IChat-class.html" class="link">IChat</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Chat" class="summary-name">Chat</a><br /> Chat this message was posted on. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">unicode</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#ChatName" class="summary-name">ChatName</a><br /> Name of the chat this message was posted on. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">datetime.datetime</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Datetime" class="summary-name">Datetime</a><br /> Chat message timestamp as datetime. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">unicode</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#EditedBy" class="summary-name">EditedBy</a><br /> Skypename of the user who edited this message. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">datetime.datetime</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#EditedDatetime" class="summary-name">EditedDatetime</a><br /> Message editing timestamp as datetime. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">float</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#EditedTimestamp" class="summary-name">EditedTimestamp</a><br /> Message editing timestamp. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">unicode</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#FromDisplayName" class="summary-name">FromDisplayName</a><br /> DisplayName of the message sender. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">unicode</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#FromHandle" class="summary-name">FromHandle</a><br /> Skypename of the message sender. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">int</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Id" class="summary-name">Id</a><br /> Chat message Id. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">bool</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#IsEditable" class="summary-name">IsEditable</a><br /> Tells if message body is editable. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"><a href="Skype4Py.enums-module.html#leaUnknown" class="link">Chat leave reason</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#LeaveReason" class="summary-name">LeaveReason</a><br /> LeaveReason. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">bool</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Seen" class="summary-name">Seen</a><br /> Marks a missed chat message as seen. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"><a href="Skype4Py.user.IUser-class.html" class="link">IUser</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Sender" class="summary-name">Sender</a><br /> Sender of the chat message. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"><a href="Skype4Py.enums-module.html#cmsUnknown" class="link">Chat message status</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Status" class="summary-name">Status</a><br /> Status of the chat messsage. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">float</span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Timestamp" class="summary-name">Timestamp</a><br /> Chat message timestamp. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"><a href="Skype4Py.enums-module.html#cmeUnknown" class="link">Chat message type</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Type" class="summary-name">Type</a><br /> Type of chat message. </td> </tr><tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">tuple of <a href="Skype4Py.user.IUser-class.html" class="link">IUser</a></span> </td><td class="summary"> <a href="Skype4Py.chat.IChatMessage-class.html#Users" class="summary-name">Users</a><br /> Users added to the chat. </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__class__</code> </p> </td> </tr></table><!-- ==================== METHOD DETAILS ==================== --><a name="section-MethodDetails"></a><table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr bgcolor="#70b0f0" class="table-header"> <td align="left" colspan="2" class="table-header"> <span class="table-header">Method Details</span></td></tr></table><a name="__repr__"></a><div><table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"><tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> <br /><em class="fname">(Representation operator)</em> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="Skype4Py.chat-pysrc.html#IChatMessage.__repr__">source code</a></span> </td> </tr></table> <p>repr(x)</p> <dl class="fields"> <dt>Overrides: object.__repr__ <dd><em class="note">(inherited documentation)</em></dd> </dt> </dl></td></tr></table></div><br /><!-- ==================== PROPERTY DETAILS ==================== -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -