ChatMe
  • Introduction
  • ChatMe Web Interface
    • Get Started
    • Dashboard
    • Direct Messages
    • Groups & Channels
    • User Account
    • ChatBot
  • Dev Documentation
    • Overview
    • Get Started
    • Direct Messages
      • Read direct messages
      • Send direct messages
    • Groups & Channels
      • Get groups & channels
      • Manage groups & channels
      • Read group/channel messages
      • Send group/channel message
    • User Account
      • Get user account info
      • Update user account
    • Frontend Widgets
    • ChatBot Development
  • Network Info
  • Roadmap
  • Use Cases & Benefits
  • External Links
Powered by GitBook
On this page
  • Get list of owner groups and channels (owned by user)
  • Get list of user groups and channels (user joined this group as member)
  • Get list of all public groups and channels
  • Get group or channel details
  1. Dev Documentation
  2. Groups & Channels

Get groups & channels

Get information about chatMe groups and channels.

Get list of owner groups and channels (owned by user)

near view $CONTRACT_NAME get_owner_groups '{"account": AccountId}'

Get list of user groups and channels (user joined this group as member)

near view $CONTRACT_NAME get_user_groups '{"account": AccountId}'

Get list of all public groups and channels

near view $CONTRACT_NAME get_public_groups '{"page_limit": u32, "skip": Option<u32>}'

Get group or channel details

near view $CONTRACT_NAME get_group_by_id '{"id": u32}'
PreviousGroups & ChannelsNextManage groups & channels

Last updated 2 years ago