Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BufferInfo and Message to represent complex data types #41

Merged
merged 3 commits into from
Jun 3, 2018

Conversation

clue
Copy link
Owner

@clue clue commented Jun 3, 2018

Incoming buffers/channels and chat messages use complex data models, so they are represented by BufferInfo and Message respectively. All other data types use plain structured data, so you can access its array-based structure very similar to a JSON-like data structure.

This is a BC break because this means these data structures can no longer be accessed like normal PHP arrays. However, using the new BufferInfo and Message models makes accessing these somewhat easier. See the updated examples for more info.

Refs #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant