TeamsChannelData Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TeamsChannelData
- com.
public class TeamsChannelData
Channel data specific to messages received in Microsoft Teams.
Constructor Summary
| Constructor | Description |
|---|---|
| TeamsChannelData() |
A new instance of Team |
| TeamsChannelData(String withTeamsChannelId, String withTeamsTeamId, ChannelInfo withChannel, String withEventType, TeamInfo withTeam, NotificationInfo withNotification, TenantInfo withTenant) |
A new instance of Team |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Channel |
getChannel()
Gets information about the channel in which the message was sent. |
| java.lang.String |
getEventType()
Gets type of event. |
|
Teams |
getMeeting()
Information about the meeting in which the message was sent. |
|
Notification |
getNotification()
Gets notification settings for the message. |
| java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
Holds the overflow properties that aren't first class properties in the object. |
|
Team |
getTeam()
Gets information about the team in which the message was sent. |
| java.lang.String |
getTeamsChannelId()
Get unique identifier representing a channel. |
| java.lang.String |
getTeamsTeamId()
Get unique identifier representing a team. |
|
Tenant |
getTenant()
Gets information about the tenant in which the message was. |
| void |
setChannel(ChannelInfo withChannel)
Sets information about the channel in which the message was sent. |
| void |
setEventType(String withEventType)
Sets type of event. |
| void |
setMeeting(TeamsMeetingInfo withMeeting)
Sets information about the meeting in which the message was sent. |
| void |
setNotification(NotificationInfo withNotification)
Sets notification settings for the message. |
| void |
setProperties(String key, JsonNode withValue)
Holds the overflow properties that aren't first class properties in the object. |
| void |
setTeam(TeamInfo withTeam)
Sets information about the team in which the message was sent. |
| void |
setTeamsChannelId(String withTeamsChannelId)
Set unique identifier representing a channel. |
| void |
setTeamsTeamId(String withTeamsTeamId)
Set unique identifier representing a team. |
| void |
setTenant(TenantInfo withTenant)
Sets information about the tenant in which the message was. |
Methods inherited from java.lang.Object
Constructor Details
TeamsChannelData
public TeamsChannelData()
A new instance of TeamChannelData.
TeamsChannelData
public TeamsChannelData(String withTeamsChannelId, String withTeamsTeamId, ChannelInfo withChannel, String withEventType, TeamInfo withTeam, NotificationInfo withNotification, TenantInfo withTenant)
A new instance of TeamChannelData.
Parameters:
Method Details
getChannel
public ChannelInfo getChannel()
Gets information about the channel in which the message was sent.
Returns:
getEventType
public String getEventType()
Gets type of event.
Returns:
getMeeting
public TeamsMeetingInfo getMeeting()
Information about the meeting in which the message was sent.
Returns:
getNotification
public NotificationInfo getNotification()
Gets notification settings for the message.
Returns:
getProperties
public Map<String,JsonNode> getProperties()
Holds the overflow properties that aren't first class properties in the object. This allows extensibility while maintaining the object.
Returns:
getTeam
public TeamInfo getTeam()
Gets information about the team in which the message was sent.
Returns:
getTeamsChannelId
public String getTeamsChannelId()
Get unique identifier representing a channel.
Returns:
getTeamsTeamId
public String getTeamsTeamId()
Get unique identifier representing a team.
Returns:
getTenant
public TenantInfo getTenant()
Gets information about the tenant in which the message was.
Returns:
setChannel
public void setChannel(ChannelInfo withChannel)
Sets information about the channel in which the message was sent.
Parameters:
setEventType
public void setEventType(String withEventType)
Sets type of event.
Parameters:
setMeeting
public void setMeeting(TeamsMeetingInfo withMeeting)
Sets information about the meeting in which the message was sent.
Parameters:
setNotification
public void setNotification(NotificationInfo withNotification)
Sets notification settings for the message.
Parameters:
setProperties
public void setProperties(String key, JsonNode withValue)
Holds the overflow properties that aren't first class properties in the object. This allows extensibility while maintaining the object.
Parameters:
setTeam
public void setTeam(TeamInfo withTeam)
Sets information about the team in which the message was sent.
Parameters:
setTeamsChannelId
public void setTeamsChannelId(String withTeamsChannelId)
Set unique identifier representing a channel.
Parameters:
setTeamsTeamId
public void setTeamsTeamId(String withTeamsTeamId)
Set unique identifier representing a team.
Parameters:
setTenant
public void setTenant(TenantInfo withTenant)
Sets information about the tenant in which the message was.
Parameters: