TCHConversationDelegate Protocol Reference
| Conforms to | NSObject | 
|---|---|
| Declared in | TCHConversation.h | 
– conversationsClient:conversation:updated:
	Called when this conversation is changed.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation updated:(TCHConversationUpdate)updatedParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| updated | An indication of what changed on the conversation. | 
Discussion
Called when this conversation is changed.
Declared In
TCHConversation.h
– conversationsClient:conversationDeleted:
	Called when current participant is removed from the conversation or conversation is closed or deleted.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversationDeleted:(nonnull TCHConversation *)conversationParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
Discussion
Called when current participant is removed from the conversation or conversation is closed or deleted.
Declared In
TCHConversation.h
– conversationsClient:conversation:synchronizationStatusUpdated:
	Called when the conversation synchronization state is changed.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation synchronizationStatusUpdated:(TCHConversationSynchronizationStatus)statusParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| status | The current synchronization status of the conversation. | 
Discussion
Called when the conversation synchronization state is changed.
Declared In
TCHConversation.h
– conversationsClient:conversation:participantJoined:
	Called when this conversation has a new participant join.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participantJoined:(nonnull TCHParticipant *)participantParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
Discussion
Called when this conversation has a new participant join.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:updated:
	Called when participant data is modified.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant updated:(TCHParticipantUpdate)updatedParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
| updated | An indication of what changed on the participant. | 
Discussion
Called when participant data is modified.
Declared In
TCHConversation.h
– conversationsClient:conversation:participantLeft:
	Called when a participant has left this conversation.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participantLeft:(nonnull TCHParticipant *)participantParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
Discussion
Called when a participant has left this conversation.
Declared In
TCHConversation.h
– conversationsClient:conversation:messageAdded:
	Called when this conversation receives a new message.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation messageAdded:(nonnull TCHMessage *)messageParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| message | The message. | 
Discussion
Called when this conversation receives a new message.
Declared In
TCHConversation.h
– conversationsClient:conversation:message:updated:
	Called when message data is modified.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation message:(nonnull TCHMessage *)message updated:(TCHMessageUpdate)updatedParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| message | The message. | 
| updated | An indication of what changed on the message. | 
Discussion
Called when message data is modified.
Declared In
TCHConversation.h
– conversationsClient:conversation:messageDeleted:
	Called when message is deleted from the conversation.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation messageDeleted:(nonnull TCHMessage *)messageParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| message | The message. | 
Discussion
Called when message is deleted from the conversation.
Declared In
TCHConversation.h
– conversationsClient:typingStartedOnConversation:participant:
	Called when a participant of a conversation starts typing.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client typingStartedOnConversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participantParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
Discussion
Called when a participant of a conversation starts typing.
Declared In
TCHConversation.h
– conversationsClient:typingEndedOnConversation:participant:
	Called when a participant of a conversation ends typing.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client typingEndedOnConversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participantParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
Discussion
Called when a participant of a conversation ends typing.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:user:updated:
	Called when this conversation has a participant’s user updated.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant user:(nonnull TCHUser *)user updated:(TCHUserUpdate)updatedParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
| user | The object for changed user. | 
| updated | An indication of what changed on the user. | 
Discussion
Called when this conversation has a participant’s user updated.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:userSubscribed:
	Called when the user associated with a participant of this conversation is subscribed to.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant userSubscribed:(nonnull TCHUser *)userParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
| user | The object for subscribed user. | 
Discussion
Called when the user associated with a participant of this conversation is subscribed to.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:userUnsubscribed:
	Called when the user associated with a participant of this conversation is unsubscribed from.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant userUnsubscribed:(nonnull TCHUser *)userParameters
| client | The conversations client. | 
|---|---|
| conversation | The conversation. | 
| participant | The participant. | 
| user | The object for unsubscribed user. | 
Discussion
Called when the user associated with a participant of this conversation is unsubscribed from.
Declared In
TCHConversation.h