Preparing search index...
The search index is not available
TouchGuild
TouchGuild
Utils
call
Class call
Deprecated - Make asynchronous/synchronous requests.
Hierarchy
call
Index
Constructors
constructor
Properties
apiURL
req
User
Agent
retry
Info
Methods
FETCH
SYNCFETCH
delete
get
patch
post
put
sync
Get
Channel
sync
Get
Guild
sync
Get
Member
Constructors
constructor
new call
(
)
:
call
Returns
call
Properties
apiURL
apiURL
:
string
req
User
Agent
req
User
Agent
:
string
retry
Info
retry
Info
:
{
retryCount
:
number
;
retryLimit
:
number
;
}
= ...
Type declaration
retry
Count
:
number
retry
Limit
:
number
Methods
FETCH
FETCH
(
method
:
string
, endpoint
:
string
, TOKEN
:
string
, BODY
:
null
|
string
|
object
)
:
Promise
<
undefined
|
object
>
Parameters
method:
string
endpoint:
string
TOKEN:
string
BODY:
null
|
string
|
object
Returns
Promise
<
undefined
|
object
>
SYNCFETCH
SYNCFETCH
(
method
:
string
, endpoint
:
string
, TOKEN
:
string
, BODY
:
null
|
string
|
object
)
:
undefined
|
object
Parameters
method:
string
endpoint:
string
TOKEN:
string
BODY:
null
|
string
|
object
Returns
undefined
|
object
delete
delete
(
endpoint
:
string
, token
:
string
, crashOnRejection
?:
boolean
)
:
Promise
<
void
|
object
>
Parameters
endpoint:
string
token:
string
Optional
crashOnRejection:
boolean
Returns
Promise
<
void
|
object
>
get
get
(
endpoint
:
string
, token
:
string
, queryParams
?:
string
|
object
, crashOnRejection
?:
boolean
)
:
Promise
<
void
|
object
>
Parameters
endpoint:
string
token:
string
Optional
queryParams:
string
|
object
crashOnRejection:
boolean
= true
Returns
Promise
<
void
|
object
>
patch
patch
(
endpoint
:
string
, token
:
string
, data
:
string
|
object
, crashOnRejection
?:
boolean
)
:
Promise
<
void
|
object
>
Parameters
endpoint:
string
token:
string
data:
string
|
object
crashOnRejection:
boolean
= true
Returns
Promise
<
void
|
object
>
post
post
(
endpoint
:
string
, token
:
string
, data
:
string
|
object
, crashOnRejection
?:
boolean
)
:
Promise
<
void
|
object
>
Parameters
endpoint:
string
token:
string
data:
string
|
object
crashOnRejection:
boolean
= true
Returns
Promise
<
void
|
object
>
put
put
(
endpoint
:
string
, token
:
string
, data
:
string
|
object
, crashOnRejection
?:
boolean
)
:
Promise
<
void
|
object
>
Parameters
endpoint:
string
token:
string
data:
string
|
object
crashOnRejection:
boolean
= true
Returns
Promise
<
void
|
object
>
sync
Get
Channel
sync
Get
Channel
(
channelID
:
string
, client
:
Client
)
:
Channel
Parameters
channelID:
string
client:
Client
Returns
Channel
sync
Get
Guild
sync
Get
Guild
(
guildID
:
string
, client
:
Client
)
:
Guild
Parameters
guildID:
string
client:
Client
Returns
Guild
sync
Get
Member
sync
Get
Member
(
guildID
:
string
, memberID
:
string
, client
:
Client
)
:
Member
Parameters
guildID:
string
memberID:
string
client:
Client
Returns
Member
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
Touch
Guild
Banned
Member
Base
Bucket
Calendar
Event
Calendar
Handler
CalendarRSVP
Channel
Channel
Handler
Client
Collection
Doc
Doc
Handler
Forum
Thread
Forum
Thread
Comment
Forum
Thread
Handler
Forum
Thread
Reaction
Info
Gateway
Event
Handler
Gateway
Handler
Guild
Guild
Handler
GuildedHTTPError
GuildedRESTError
List
Item
List
Item
Handler
Member
Message
Message
Handler
Message
Reaction
Info
RESTManager
Reaction
Info
Request
Handler
Routes/
Channels
Routes/
Guilds
Sequential
Bucket
Typed
Collection
Typed
Emitter
Types
Types/
Request
Handler
User
User
Client
Utils
WSManager
Webhook
Webhook
Handler
index
APITypes
rest/endpoints
types/
Constants
types/client
types/events
call
constructor
apiURL
req
User
Agent
retry
Info
FETCH
SYNCFETCH
delete
get
patch
post
put
sync
Get
Channel
sync
Get
Guild
sync
Get
Member
Deprecated - Make asynchronous/synchronous requests.