ChannelInfo Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.ChannelInfo

public class ChannelInfo

A channel info object which describes the channel.

Constructor Summary

Constructor Description
ChannelInfo()

Initializes a new instance of the ChannelInfo class.

ChannelInfo(String withId)

Initialzies a new instance of the ChannelInfo class with an id.

ChannelInfo(String withId, String withName)

Initializes a new instance of the ChannelInfo class.

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

withId - The id.

ChannelInfo

public ChannelInfo(String withId, String withName)

Initializes a new instance of the ChannelInfo class.

Parameters:

withId - identifier representing a channel.
withName - Name of the channel.

Method Details

getId

public final String getId()

Get the unique identifier representing a channel.

Returns:

the unique identifier representing a channel.

getName

public String getName()

Get the name of the channel.

Returns:

name of the channel.

setId

public void setId(String withId)

Set unique identifier representing a channel.

Parameters:

withId - the unique identifier representing a channel.

setName

public void setName(String withName)

Sets name of the channel.

Parameters:

withName - the name of the channel.

Applies to