Skip to content

RootPlatform/RootSdk.Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Root developer samples

This repository contains a collection of example Root Apps and Bots.

Repository structure

Samples repository
│
├── Apps
│   ├── sample-app
│   │   ├── client
│   │   │   └── src
│   │   ├── server
│   │   │   └── src
│   │   └── networking
│   │       └── src
│   │
│   └── (other samples)
│
└── Bots
    ├── sample-bot
    │   └── src
    │
    └── (other samples)

Sample Apps

  • HelloWorld: Sends back the incoming message, no persistence. The simplest App.
  • ProtobufService: Community voting on two options. Demonstrates how to build a simple service without persistence.
  • DataStorage: Simple task-list with persistence. Demonstrates two different data-access layer implementations.
  • CommunityLog: - API demonstration App for Community Log.
  • SuggestionBox: Shared suggestion box with voting. The most complete sample. Shows client UI, services, and persistence.

To run a sample App, follow the steps to build and test an App.

Sample Bots

  • HelloWorld: Sends back the incoming message to the originating channel. The simplest Bot.
  • AllChannelBroadcast Sends the incoming message to all text channels. Demonstrates how to enumerate all channel groups and channels.
  • NewMemberWelcome: Posts a welcome message to the community default channel when a new member joins. Shows how to handle the member-joined event.
  • RoleList: Lists community roles and member roles. Shows how to retrieve community and user role information.
  • RoleAssignment: Assigns a new role to active members that post messages in the community. Shows how to programmatically assign a role.
  • ResetChannelDescription: Sets the description of a voice channel to empty string when the last participant leaves the call. Demonstrates WebRTC APIs.

To run a sample Bot, follow the steps to build and test a Bot.

About

Example Root Apps and Bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published