class Tourmaline::BotCommandScopeDefault

Overview

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(type : String) #

[View source]

Instance Method Detail

def type : String #

Scope type, must be default


[View source]
def type=(type : String) #

Scope type, must be default


[View source]