ChannelInfo Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. ChannelInfo
- com.
public class ChannelInfo
A channel info object which describes the channel.
Constructor Summary
| Constructor | Description |
|---|---|
| ChannelInfo() |
Initializes a new instance of the Channel |
| ChannelInfo(String withId) |
Initialzies a new instance of the Channel |
| ChannelInfo(String withId, String withName) |
Initializes a new instance of the Channel |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| final java.lang.String |
getId()
Get the unique identifier representing a channel. |
| java.lang.String |
getName()
Get the name of the channel. |
| void |
setId(String withId)
Set unique identifier representing a channel. |
| void |
setName(String withName)
Sets name of the channel. |
Methods inherited from java.lang.Object
Constructor Details
ChannelInfo
public ChannelInfo()
Initializes a new instance of the ChannelInfo class.
ChannelInfo
public ChannelInfo(String withId)
Initialzies a new instance of the ChannelInfo class with an id.
Parameters:
ChannelInfo
public ChannelInfo(String withId, String withName)
Initializes a new instance of the ChannelInfo class.
Parameters:
Method Details
getId
public final String getId()
Get the unique identifier representing a channel.
Returns:
getName
public String getName()
Get the name of the channel.
Returns:
setId
public void setId(String withId)
Set unique identifier representing a channel.
Parameters:
setName
public void setName(String withName)
Sets name of the channel.
Parameters: