RevoltSharp
  • 🏠Info
  • GitHub
  • 📋Changelog
  • Commands
    • 💻Command Handler
      • 📋Changelog
      • Guide
  • Guides
    • 📘Guides
      • Create Client
      • User Account
      • Self-hosted Revolt
      • Uploading Files
      • Sending Embeds
      • Async Events
      • Custom Requests
      • Cloudflare Under Attack Mode
  • Client Structure
    • ⚙️RevoltClient
    • 🌐Rest Client
    • 🔌Websocket Client
    • 🛡️Instance Admin Client
    • ⚡Events
    • ⛓️Extensions
  • Class Structure
    • 🎭Users & Members
    • 🏨Servers
    • #️⃣Channels
    • 🛡️Permissions
    • 💬Messages
    • 🗯️Message Properties
    • 🙂Emojis
    • 🎲Misc
Powered by GitBook
On this page
  1. Client Structure

RevoltClient

PreviousCloudflare Under Attack ModeNextRest Client

Last updated 2 years ago

Types

A list of colored type names to understand the library better :)

string Simple text string with Ids or content.

bool Simple boolean value of True or False

int or ulong or BigIntiger Simple number value

enum A specific type name from a list of types.

object A object/class that contains different properties or can be casted.

object? A object/class that may be null in certain conditions.

object[ ] A list or array of objects that can be used in foreach of where to filter.

void( ) or async( ) function or await task that can be triggered to run with optional return type.

RevoltClient

string Token

string Version

Config

Rest

async StartAsync( )

async StopAsync( )

? CurrentUser

[ ] Servers

[ ] Users

? GetUser( string id )

? GetChannel( string id )

? GetGroupChannel( string id )

? GetDMChannel( string id )

? GetTextChannel( string id )

? GetVoiceChannel( string id )

? GetServer( string id )

? GetRole( string id )

? GetEmoji( string id )

ClientConfig

string UserAgent

Debug

bool UserBot

bool RestThrowException

string[ ] Owners

ClientDebugConfig

bool EnableConsoleQuickEdit

string UploadUrl

string WebsocketUrl

bool LogWebSocketFull

bool LogWebSocketReady

bool LogWebSocketError

bool LogWebSocketUnknownEvent

bool LogRestRequest

bool CheckRestRequest

bool LogRestRequestJson

bool LogRestResponseJson

⚙️
ClientConfig
ClientDebugConfig
Emoji
Channel
GroupChannel
DMChannel
TextChannel
VoiceChannel
SelfUser
User
User
RevoltRestClient
Server
Server
Role