/
V3.ts
37 lines (33 loc) · 1.1 KB
/
V3.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Chat
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import ChatBase from "../ChatBase";
import Version from "../../base/Version";
import { ChannelListInstance } from "./v3/channel";
export default class V3 extends Version {
/**
* Initialize the V3 version of Chat
*
* @param domain - The Twilio (Twilio.Chat) domain
*/
constructor(domain: ChatBase) {
super(domain, "v3");
}
/** channels - { Twilio.Chat.V3.ChannelListInstance } resource */
protected _channels?: ChannelListInstance;
/** Getter for channels resource */
get channels(): ChannelListInstance {
this._channels = this._channels || ChannelListInstance(this);
return this._channels;
}
}