Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bitgetlimited
GitHub Repository: bitgetlimited/v3-bitget-api-sdk
Path: blob/master/bitget-php-sdk-api/src/model/ws/SubscribeReq.php
518 views
1
<?php
2
3
namespace bitget\model\ws;
4
5
class SubscribeReq
6
{
7
var string $instType;
8
var string $channel;
9
var string $instId;
10
11
/**
12
* @param string $instType
13
* @param string $channel
14
* @param string $instId
15
*/
16
public function __construct(string $instType, string $channel, string $instId)
17
{
18
$this->instType = $instType;
19
$this->channel = $channel;
20
$this->instId = $instId;
21
}
22
23
public function toString():string{
24
return $this->instType.",".$this->channel.",".$this->instId;
25
}
26
27
28
29
}
30