Infinity.ChatBufferMessage¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| flags | Infinity.ChatBufferMessageFlags | r/w | Additional flags for the message, see Infinity.ChatBufferMessageFlags. | 
| length | int | r/w | The length of the message, in bytes. | 
| text | str | r/w | The UTF-8 encoded text of the message. | 
| time | int | r/w | The time at which the message was received. | 
| type | Infinity.ChatBufferMessageType | r/w | The Infinity.ChatBufferMessageTypeof the message. | 
| user | Infinity.User | r/w | The Infinity.Userthat issued the message. | 
Details¶
- 
class Infinity.ChatBufferMessage¶
- Represents a chat message. - 
copy()¶
- Returns: - A new - Infinity.ChatBufferMessage. Free with- Infinity.ChatBufferMessage.free() when no longer needed.- Return type: - Infinity.ChatBufferMessage- Creates a copy of the given message. 
 - 
free()¶
- Frees the given - Infinity.ChatBufferMessagewhich must have been created with- Infinity.ChatBufferMessage.copy().
 
-