Package cloud.google.com/go/chat/apiv1/chatpb (v0.15.1)

Constants

ChatService_CreateMessage_FullMethodName, ChatService_ListMessages_FullMethodName, ChatService_ListMemberships_FullMethodName, ChatService_GetMembership_FullMethodName, ChatService_GetMessage_FullMethodName, ChatService_UpdateMessage_FullMethodName, ChatService_DeleteMessage_FullMethodName, ChatService_GetAttachment_FullMethodName, ChatService_UploadAttachment_FullMethodName, ChatService_ListSpaces_FullMethodName, ChatService_SearchSpaces_FullMethodName, ChatService_GetSpace_FullMethodName, ChatService_CreateSpace_FullMethodName, ChatService_SetUpSpace_FullMethodName, ChatService_UpdateSpace_FullMethodName, ChatService_DeleteSpace_FullMethodName, ChatService_CompleteImportSpace_FullMethodName, ChatService_FindDirectMessage_FullMethodName, ChatService_CreateMembership_FullMethodName, ChatService_UpdateMembership_FullMethodName, ChatService_DeleteMembership_FullMethodName, ChatService_CreateReaction_FullMethodName, ChatService_ListReactions_FullMethodName, ChatService_DeleteReaction_FullMethodName, ChatService_CreateCustomEmoji_FullMethodName, ChatService_GetCustomEmoji_FullMethodName, ChatService_ListCustomEmojis_FullMethodName, ChatService_DeleteCustomEmoji_FullMethodName, ChatService_GetSpaceReadState_FullMethodName, ChatService_UpdateSpaceReadState_FullMethodName, ChatService_GetThreadReadState_FullMethodName, ChatService_GetSpaceEvent_FullMethodName, ChatService_ListSpaceEvents_FullMethodName, ChatService_GetSpaceNotificationSetting_FullMethodName, ChatService_UpdateSpaceNotificationSetting_FullMethodName

const (
	ChatService_CreateMessage_FullMethodName                  = "/google.chat.v1.ChatService/CreateMessage"
	ChatService_ListMessages_FullMethodName                   = "/google.chat.v1.ChatService/ListMessages"
	ChatService_ListMemberships_FullMethodName                = "/google.chat.v1.ChatService/ListMemberships"
	ChatService_GetMembership_FullMethodName                  = "/google.chat.v1.ChatService/GetMembership"
	ChatService_GetMessage_FullMethodName                     = "/google.chat.v1.ChatService/GetMessage"
	ChatService_UpdateMessage_FullMethodName                  = "/google.chat.v1.ChatService/UpdateMessage"
	ChatService_DeleteMessage_FullMethodName                  = "/google.chat.v1.ChatService/DeleteMessage"
	ChatService_GetAttachment_FullMethodName                  = "/google.chat.v1.ChatService/GetAttachment"
	ChatService_UploadAttachment_FullMethodName               = "/google.chat.v1.ChatService/UploadAttachment"
	ChatService_ListSpaces_FullMethodName                     = "/google.chat.v1.ChatService/ListSpaces"
	ChatService_SearchSpaces_FullMethodName                   = "/google.chat.v1.ChatService/SearchSpaces"
	ChatService_GetSpace_FullMethodName                       = "/google.chat.v1.ChatService/GetSpace"
	ChatService_CreateSpace_FullMethodName                    = "/google.chat.v1.ChatService/CreateSpace"
	ChatService_SetUpSpace_FullMethodName                     = "/google.chat.v1.ChatService/SetUpSpace"
	ChatService_UpdateSpace_FullMethodName                    = "/google.chat.v1.ChatService/UpdateSpace"
	ChatService_DeleteSpace_FullMethodName                    = "/google.chat.v1.ChatService/DeleteSpace"
	ChatService_CompleteImportSpace_FullMethodName            = "/google.chat.v1.ChatService/CompleteImportSpace"
	ChatService_FindDirectMessage_FullMethodName              = "/google.chat.v1.ChatService/FindDirectMessage"
	ChatService_CreateMembership_FullMethodName               = "/google.chat.v1.ChatService/CreateMembership"
	ChatService_UpdateMembership_FullMethodName               = "/google.chat.v1.ChatService/UpdateMembership"
	ChatService_DeleteMembership_FullMethodName               = "/google.chat.v1.ChatService/DeleteMembership"
	ChatService_CreateReaction_FullMethodName                 = "/google.chat.v1.ChatService/CreateReaction"
	ChatService_ListReactions_FullMethodName                  = "/google.chat.v1.ChatService/ListReactions"
	ChatService_DeleteReaction_FullMethodName                 = "/google.chat.v1.ChatService/DeleteReaction"
	ChatService_CreateCustomEmoji_FullMethodName              = "/google.chat.v1.ChatService/CreateCustomEmoji"
	ChatService_GetCustomEmoji_FullMethodName                 = "/google.chat.v1.ChatService/GetCustomEmoji"
	ChatService_ListCustomEmojis_FullMethodName               = "/google.chat.v1.ChatService/ListCustomEmojis"
	ChatService_DeleteCustomEmoji_FullMethodName              = "/google.chat.v1.ChatService/DeleteCustomEmoji"
	ChatService_GetSpaceReadState_FullMethodName              = "/google.chat.v1.ChatService/GetSpaceReadState"
	ChatService_UpdateSpaceReadState_FullMethodName           = "/google.chat.v1.ChatService/UpdateSpaceReadState"
	ChatService_GetThreadReadState_FullMethodName             = "/google.chat.v1.ChatService/GetThreadReadState"
	ChatService_GetSpaceEvent_FullMethodName                  = "/google.chat.v1.ChatService/GetSpaceEvent"
	ChatService_ListSpaceEvents_FullMethodName                = "/google.chat.v1.ChatService/ListSpaceEvents"
	ChatService_GetSpaceNotificationSetting_FullMethodName    = "/google.chat.v1.ChatService/GetSpaceNotificationSetting"
	ChatService_UpdateSpaceNotificationSetting_FullMethodName = "/google.chat.v1.ChatService/UpdateSpaceNotificationSetting"
)

Variables

AnnotationType_name, AnnotationType_value

var (
	AnnotationType_name = map[int32]string{
		0: "ANNOTATION_TYPE_UNSPECIFIED",
		1: "USER_MENTION",
		2: "SLASH_COMMAND",
		3: "RICH_LINK",
		4: "CUSTOM_EMOJI",
	}
	AnnotationType_value = map[string]int32{
		"ANNOTATION_TYPE_UNSPECIFIED": 0,
		"USER_MENTION":                1,
		"SLASH_COMMAND":               2,
		"RICH_LINK":                   3,
		"CUSTOM_EMOJI":                4,
	}
)

Enum value maps for AnnotationType.

UserMentionMetadata_Type_name, UserMentionMetadata_Type_value

var (
	UserMentionMetadata_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ADD",
		2: "MENTION",
	}
	UserMentionMetadata_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ADD":              1,
		"MENTION":          2,
	}
)

Enum value maps for UserMentionMetadata_Type.

SlashCommandMetadata_Type_name, SlashCommandMetadata_Type_value

var (
	SlashCommandMetadata_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ADD",
		2: "INVOKE",
	}
	SlashCommandMetadata_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ADD":              1,
		"INVOKE":           2,
	}
)

Enum value maps for SlashCommandMetadata_Type.

RichLinkMetadata_RichLinkType_name, RichLinkMetadata_RichLinkType_value

var (
	RichLinkMetadata_RichLinkType_name = map[int32]string{
		0: "RICH_LINK_TYPE_UNSPECIFIED",
		1: "DRIVE_FILE",
		2: "CHAT_SPACE",
		4: "MEET_SPACE",
		5: "CALENDAR_EVENT",
	}
	RichLinkMetadata_RichLinkType_value = map[string]int32{
		"RICH_LINK_TYPE_UNSPECIFIED": 0,
		"DRIVE_FILE":                 1,
		"CHAT_SPACE":                 2,
		"MEET_SPACE":                 4,
		"CALENDAR_EVENT":             5,
	}
)

Enum value maps for RichLinkMetadata_RichLinkType.

MeetSpaceLinkData_Type_name, MeetSpaceLinkData_Type_value

var (
	MeetSpaceLinkData_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MEETING",
		2: "HUDDLE",
	}
	MeetSpaceLinkData_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MEETING":          1,
		"HUDDLE":           2,
	}
)

Enum value maps for MeetSpaceLinkData_Type.

MeetSpaceLinkData_HuddleStatus_name, MeetSpaceLinkData_HuddleStatus_value

var (
	MeetSpaceLinkData_HuddleStatus_name = map[int32]string{
		0: "HUDDLE_STATUS_UNSPECIFIED",
		1: "STARTED",
		2: "ENDED",
		3: "MISSED",
	}
	MeetSpaceLinkData_HuddleStatus_value = map[string]int32{
		"HUDDLE_STATUS_UNSPECIFIED": 0,
		"STARTED":                   1,
		"ENDED":                     2,
		"MISSED":                    3,
	}
)

Enum value maps for MeetSpaceLinkData_HuddleStatus.

Attachment_Source_name, Attachment_Source_value

var (
	Attachment_Source_name = map[int32]string{
		0: "SOURCE_UNSPECIFIED",
		1: "DRIVE_FILE",
		2: "UPLOADED_CONTENT",
	}
	Attachment_Source_value = map[string]int32{
		"SOURCE_UNSPECIFIED": 0,
		"DRIVE_FILE":         1,
		"UPLOADED_CONTENT":   2,
	}
)

Enum value maps for Attachment_Source.

ContextualAddOnMarkup_Card_CardHeader_ImageStyle_name, ContextualAddOnMarkup_Card_CardHeader_ImageStyle_value

var (
	ContextualAddOnMarkup_Card_CardHeader_ImageStyle_name = map[int32]string{
		0: "IMAGE_STYLE_UNSPECIFIED",
		1: "IMAGE",
		2: "AVATAR",
	}
	ContextualAddOnMarkup_Card_CardHeader_ImageStyle_value = map[string]int32{
		"IMAGE_STYLE_UNSPECIFIED": 0,
		"IMAGE":                   1,
		"AVATAR":                  2,
	}
)

Enum value maps for ContextualAddOnMarkup_Card_CardHeader_ImageStyle.

DeletionMetadata_DeletionType_name, DeletionMetadata_DeletionType_value

var (
	DeletionMetadata_DeletionType_name = map[int32]string{
		0: "DELETION_TYPE_UNSPECIFIED",
		1: "CREATOR",
		2: "SPACE_OWNER",
		3: "ADMIN",
		4: "APP_MESSAGE_EXPIRY",
		5: "CREATOR_VIA_APP",
		6: "SPACE_OWNER_VIA_APP",
		7: "SPACE_MEMBER",
	}
	DeletionMetadata_DeletionType_value = map[string]int32{
		"DELETION_TYPE_UNSPECIFIED": 0,
		"CREATOR":                   1,
		"SPACE_OWNER":               2,
		"ADMIN":                     3,
		"APP_MESSAGE_EXPIRY":        4,
		"CREATOR_VIA_APP":           5,
		"SPACE_OWNER_VIA_APP":       6,
		"SPACE_MEMBER":              7,
	}
)

Enum value maps for DeletionMetadata_DeletionType.

HistoryState_name, HistoryState_value

var (
	HistoryState_name = map[int32]string{
		0: "HISTORY_STATE_UNSPECIFIED",
		1: "HISTORY_OFF",
		2: "HISTORY_ON",
	}
	HistoryState_value = map[string]int32{
		"HISTORY_STATE_UNSPECIFIED": 0,
		"HISTORY_OFF":               1,
		"HISTORY_ON":                2,
	}
)

Enum value maps for HistoryState.

Membership_MembershipState_name, Membership_MembershipState_value

var (
	Membership_MembershipState_name = map[int32]string{
		0: "MEMBERSHIP_STATE_UNSPECIFIED",
		1: "JOINED",
		2: "INVITED",
		3: "NOT_A_MEMBER",
	}
	Membership_MembershipState_value = map[string]int32{
		"MEMBERSHIP_STATE_UNSPECIFIED": 0,
		"JOINED":                       1,
		"INVITED":                      2,
		"NOT_A_MEMBER":                 3,
	}
)

Enum value maps for Membership_MembershipState.

Membership_MembershipRole_name, Membership_MembershipRole_value

var (
	Membership_MembershipRole_name = map[int32]string{
		0: "MEMBERSHIP_ROLE_UNSPECIFIED",
		1: "ROLE_MEMBER",
		2: "ROLE_MANAGER",
	}
	Membership_MembershipRole_value = map[string]int32{
		"MEMBERSHIP_ROLE_UNSPECIFIED": 0,
		"ROLE_MEMBER":                 1,
		"ROLE_MANAGER":                2,
	}
)

Enum value maps for Membership_MembershipRole.

ActionResponse_ResponseType_name, ActionResponse_ResponseType_value

var (
	ActionResponse_ResponseType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "NEW_MESSAGE",
		2: "UPDATE_MESSAGE",
		6: "UPDATE_USER_MESSAGE_CARDS",
		3: "REQUEST_CONFIG",
		4: "DIALOG",
		7: "UPDATE_WIDGET",
	}
	ActionResponse_ResponseType_value = map[string]int32{
		"TYPE_UNSPECIFIED":          0,
		"NEW_MESSAGE":               1,
		"UPDATE_MESSAGE":            2,
		"UPDATE_USER_MESSAGE_CARDS": 6,
		"REQUEST_CONFIG":            3,
		"DIALOG":                    4,
		"UPDATE_WIDGET":             7,
	}
)

Enum value maps for ActionResponse_ResponseType.

CreateMessageRequest_MessageReplyOption_name, CreateMessageRequest_MessageReplyOption_value

var (
	CreateMessageRequest_MessageReplyOption_name = map[int32]string{
		0: "MESSAGE_REPLY_OPTION_UNSPECIFIED",
		1: "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD",
		2: "REPLY_MESSAGE_OR_FAIL",
	}
	CreateMessageRequest_MessageReplyOption_value = map[string]int32{
		"MESSAGE_REPLY_OPTION_UNSPECIFIED":     0,
		"REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD": 1,
		"REPLY_MESSAGE_OR_FAIL":                2,
	}
)

Enum value maps for CreateMessageRequest_MessageReplyOption.

Space_Type_name, Space_Type_value

var (
	Space_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ROOM",
		2: "DM",
	}
	Space_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ROOM":             1,
		"DM":               2,
	}
)

Enum value maps for Space_Type.

Space_SpaceType_name, Space_SpaceType_value

var (
	Space_SpaceType_name = map[int32]string{
		0: "SPACE_TYPE_UNSPECIFIED",
		1: "SPACE",
		2: "GROUP_CHAT",
		3: "DIRECT_MESSAGE",
	}
	Space_SpaceType_value = map[string]int32{
		"SPACE_TYPE_UNSPECIFIED": 0,
		"SPACE":                  1,
		"GROUP_CHAT":             2,
		"DIRECT_MESSAGE":         3,
	}
)

Enum value maps for Space_SpaceType.

Space_SpaceThreadingState_name, Space_SpaceThreadingState_value

var (
	Space_SpaceThreadingState_name = map[int32]string{
		0: "SPACE_THREADING_STATE_UNSPECIFIED",
		2: "THREADED_MESSAGES",
		3: "GROUPED_MESSAGES",
		4: "UNTHREADED_MESSAGES",
	}
	Space_SpaceThreadingState_value = map[string]int32{
		"SPACE_THREADING_STATE_UNSPECIFIED": 0,
		"THREADED_MESSAGES":                 2,
		"GROUPED_MESSAGES":                  3,
		"UNTHREADED_MESSAGES":               4,
	}
)

Enum value maps for Space_SpaceThreadingState.

Space_PredefinedPermissionSettings_name, Space_PredefinedPermissionSettings_value

var (
	Space_PredefinedPermissionSettings_name = map[int32]string{
		0: "PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED",
		1: "COLLABORATION_SPACE",
		2: "ANNOUNCEMENT_SPACE",
	}
	Space_PredefinedPermissionSettings_value = map[string]int32{
		"PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED": 0,
		"COLLABORATION_SPACE":                        1,
		"ANNOUNCEMENT_SPACE":                         2,
	}
)

Enum value maps for Space_PredefinedPermissionSettings.

Space_AccessSettings_AccessState_name, Space_AccessSettings_AccessState_value

var (
	Space_AccessSettings_AccessState_name = map[int32]string{
		0: "ACCESS_STATE_UNSPECIFIED",
		1: "PRIVATE",
		2: "DISCOVERABLE",
	}
	Space_AccessSettings_AccessState_value = map[string]int32{
		"ACCESS_STATE_UNSPECIFIED": 0,
		"PRIVATE":                  1,
		"DISCOVERABLE":             2,
	}
)

Enum value maps for Space_AccessSettings_AccessState.

SpaceNotificationSetting_NotificationSetting_name, SpaceNotificationSetting_NotificationSetting_value

var (
	SpaceNotificationSetting_NotificationSetting_name = map[int32]string{
		0: "NOTIFICATION_SETTING_UNSPECIFIED",
		1: "ALL",
		2: "MAIN_CONVERSATIONS",
		3: "FOR_YOU",
		4: "OFF",
	}
	SpaceNotificationSetting_NotificationSetting_value = map[string]int32{
		"NOTIFICATION_SETTING_UNSPECIFIED": 0,
		"ALL":                              1,
		"MAIN_CONVERSATIONS":               2,
		"FOR_YOU":                          3,
		"OFF":                              4,
	}
)

Enum value maps for SpaceNotificationSetting_NotificationSetting.

SpaceNotificationSetting_MuteSetting_name, SpaceNotificationSetting_MuteSetting_value

var (
	SpaceNotificationSetting_MuteSetting_name = map[int32]string{
		0: "MUTE_SETTING_UNSPECIFIED",
		1: "UNMUTED",
		2: "MUTED",
	}
	SpaceNotificationSetting_MuteSetting_value = map[string]int32{
		"MUTE_SETTING_UNSPECIFIED": 0,
		"UNMUTED":                  1,
		"MUTED":                    2,
	}
)

Enum value maps for SpaceNotificationSetting_MuteSetting.

User_Type_name, User_Type_value

var (
	User_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "HUMAN",
		2: "BOT",
	}
	User_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"HUMAN":            1,
		"BOT":              2,
	}
)

Enum value maps for User_Type.

WidgetMarkup_Icon_name, WidgetMarkup_Icon_value

var (
	WidgetMarkup_Icon_name = map[int32]string{
		0:  "ICON_UNSPECIFIED",
		1:  "AIRPLANE",
		26: "BOOKMARK",
		25: "BUS",
		9:  "CAR",
		2:  "CLOCK",
		12: "CONFIRMATION_NUMBER_ICON",
		14: "DOLLAR",
		27: "DESCRIPTION",
		10: "EMAIL",
		20: "EVENT_PERFORMER",
		21: "EVENT_SEAT",
		16: "FLIGHT_ARRIVAL",
		15: "FLIGHT_DEPARTURE",
		6:  "HOTEL",
		17: "HOTEL_ROOM_TYPE",
		19: "INVITE",
		3:  "MAP_PIN",
		24: "MEMBERSHIP",
		18: "MULTIPLE_PEOPLE",
		30: "OFFER",
		11: "PERSON",
		13: "PHONE",
		7:  "RESTAURANT_ICON",
		8:  "SHOPPING_CART",
		5:  "STAR",
		22: "STORE",
		4:  "TICKET",
		23: "TRAIN",
		28: "VIDEO_CAMERA",
		29: "VIDEO_PLAY",
	}
	WidgetMarkup_Icon_value = map[string]int32{
		"ICON_UNSPECIFIED":         0,
		"AIRPLANE":                 1,
		"BOOKMARK":                 26,
		"BUS":                      25,
		"CAR":                      9,
		"CLOCK":                    2,
		"CONFIRMATION_NUMBER_ICON": 12,
		"DOLLAR":                   14,
		"DESCRIPTION":              27,
		"EMAIL":                    10,
		"EVENT_PERFORMER":          20,
		"EVENT_SEAT":               21,
		"FLIGHT_ARRIVAL":           16,
		"FLIGHT_DEPARTURE":         15,
		"HOTEL":                    6,
		"HOTEL_ROOM_TYPE":          17,
		"INVITE":                   19,
		"MAP_PIN":                  3,
		"MEMBERSHIP":               24,
		"MULTIPLE_PEOPLE":          18,
		"OFFER":                    30,
		"PERSON":                   11,
		"PHONE":                    13,
		"RESTAURANT_ICON":          7,
		"SHOPPING_CART":            8,
		"STAR":                     5,
		"STORE":                    22,
		"TICKET":                   4,
		"TRAIN":                    23,
		"VIDEO_CAMERA":             28,
		"VIDEO_PLAY":               29,
	}
)

Enum value maps for WidgetMarkup_Icon.

ChatService_ServiceDesc

var ChatService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.chat.v1.ChatService",
	HandlerType: (*ChatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateMessage",
			Handler:    _ChatService_CreateMessage_Handler,
		},
		{
			MethodName: "ListMessages",
			Handler:    _ChatService_ListMessages_Handler,
		},
		{
			MethodName: "ListMemberships",
			Handler:    _ChatService_ListMemberships_Handler,
		},
		{
			MethodName: "GetMembership",
			Handler:    _ChatService_GetMembership_Handler,
		},
		{
			MethodName: "GetMessage",
			Handler:    _ChatService_GetMessage_Handler,
		},
		{
			MethodName: "UpdateMessage",
			Handler:    _ChatService_UpdateMessage_Handler,
		},
		{
			MethodName: "DeleteMessage",
			Handler:    _ChatService_DeleteMessage_Handler,
		},
		{
			MethodName: "GetAttachment",
			Handler:    _ChatService_GetAttachment_Handler,
		},
		{
			MethodName: "UploadAttachment",
			Handler:    _ChatService_UploadAttachment_Handler,
		},
		{
			MethodName: "ListSpaces",
			Handler:    _ChatService_ListSpaces_Handler,
		},
		{
			MethodName: "SearchSpaces",
			Handler:    _ChatService_SearchSpaces_Handler,
		},
		{
			MethodName: "GetSpace",
			Handler:    _ChatService_GetSpace_Handler,
		},
		{
			MethodName: "CreateSpace",
			Handler:    _ChatService_CreateSpace_Handler,
		},
		{
			MethodName: "SetUpSpace",
			Handler:    _ChatService_SetUpSpace_Handler,
		},
		{
			MethodName: "UpdateSpace",
			Handler:    _ChatService_UpdateSpace_Handler,
		},
		{
			MethodName: "DeleteSpace",
			Handler:    _ChatService_DeleteSpace_Handler,
		},
		{
			MethodName: "CompleteImportSpace",
			Handler:    _ChatService_CompleteImportSpace_Handler,
		},
		{
			MethodName: "FindDirectMessage",
			Handler:    _ChatService_FindDirectMessage_Handler,
		},
		{
			MethodName: "CreateMembership",
			Handler:    _ChatService_CreateMembership_Handler,
		},
		{
			MethodName: "UpdateMembership",
			Handler:    _ChatService_UpdateMembership_Handler,
		},
		{
			MethodName: "DeleteMembership",
			Handler:    _ChatService_DeleteMembership_Handler,
		},
		{
			MethodName: "CreateReaction",
			Handler:    _ChatService_CreateReaction_Handler,
		},
		{
			MethodName: "ListReactions",
			Handler:    _ChatService_ListReactions_Handler,
		},
		{
			MethodName: "DeleteReaction",
			Handler:    _ChatService_DeleteReaction_Handler,
		},
		{
			MethodName: "CreateCustomEmoji",
			Handler:    _ChatService_CreateCustomEmoji_Handler,
		},
		{
			MethodName: "GetCustomEmoji",
			Handler:    _ChatService_GetCustomEmoji_Handler,
		},
		{
			MethodName: "ListCustomEmojis",
			Handler:    _ChatService_ListCustomEmojis_Handler,
		},
		{
			MethodName: "DeleteCustomEmoji",
			Handler:    _ChatService_DeleteCustomEmoji_Handler,
		},
		{
			MethodName: "GetSpaceReadState",
			Handler:    _ChatService_GetSpaceReadState_Handler,
		},
		{
			MethodName: "UpdateSpaceReadState",
			Handler:    _ChatService_UpdateSpaceReadState_Handler,
		},
		{
			MethodName: "GetThreadReadState",
			Handler:    _ChatService_GetThreadReadState_Handler,
		},
		{
			MethodName: "GetSpaceEvent",
			Handler:    _ChatService_GetSpaceEvent_Handler,
		},
		{
			MethodName: "ListSpaceEvents",
			Handler:    _ChatService_ListSpaceEvents_Handler,
		},
		{
			MethodName: "GetSpaceNotificationSetting",
			Handler:    _ChatService_GetSpaceNotificationSetting_Handler,
		},
		{
			MethodName: "UpdateSpaceNotificationSetting",
			Handler:    _ChatService_UpdateSpaceNotificationSetting_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/chat/v1/chat_service.proto",
}

ChatService_ServiceDesc is the grpc.ServiceDesc for ChatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

File_google_chat_v1_action_status_proto

var File_google_chat_v1_action_status_proto protoreflect.FileDescriptor

File_google_chat_v1_annotation_proto

var File_google_chat_v1_annotation_proto protoreflect.FileDescriptor

File_google_chat_v1_attachment_proto

var File_google_chat_v1_attachment_proto protoreflect.FileDescriptor

File_google_chat_v1_chat_service_proto

var File_google_chat_v1_chat_service_proto protoreflect.FileDescriptor

File_google_chat_v1_contextual_addon_proto

var File_google_chat_v1_contextual_addon_proto protoreflect.FileDescriptor

File_google_chat_v1_deletion_metadata_proto

var File_google_chat_v1_deletion_metadata_proto protoreflect.FileDescriptor

File_google_chat_v1_event_payload_proto

var File_google_chat_v1_event_payload_proto protoreflect.FileDescriptor

File_google_chat_v1_group_proto

var File_google_chat_v1_group_proto protoreflect.FileDescriptor

File_google_chat_v1_history_state_proto

var File_google_chat_v1_history_state_proto protoreflect.FileDescriptor

File_google_chat_v1_matched_url_proto

var File_google_chat_v1_matched_url_proto protoreflect.FileDescriptor

File_google_chat_v1_membership_proto

var File_google_chat_v1_membership_proto protoreflect.FileDescriptor

File_google_chat_v1_message_proto

var File_google_chat_v1_message_proto protoreflect.FileDescriptor

File_google_chat_v1_reaction_proto

var File_google_chat_v1_reaction_proto protoreflect.FileDescriptor

File_google_chat_v1_slash_command_proto

var File_google_chat_v1_slash_command_proto protoreflect.FileDescriptor

File_google_chat_v1_space_event_proto

var File_google_chat_v1_space_event_proto protoreflect.FileDescriptor

File_google_chat_v1_space_notification_setting_proto

var File_google_chat_v1_space_notification_setting_proto protoreflect.FileDescriptor

File_google_chat_v1_space_proto

var File_google_chat_v1_space_proto protoreflect.FileDescriptor

File_google_chat_v1_space_read_state_proto

var File_google_chat_v1_space_read_state_proto protoreflect.FileDescriptor

File_google_chat_v1_space_setup_proto

var File_google_chat_v1_space_setup_proto protoreflect.FileDescriptor

File_google_chat_v1_thread_read_state_proto

var File_google_chat_v1_thread_read_state_proto protoreflect.FileDescriptor

File_google_chat_v1_user_proto

var File_google_chat_v1_user_proto protoreflect.FileDescriptor

File_google_chat_v1_widgets_proto

var File_google_chat_v1_widgets_proto protoreflect.FileDescriptor

Functions

func RegisterChatServiceServer

func RegisterChatServiceServer(s grpc.ServiceRegistrar, srv ChatServiceServer)

AccessoryWidget

type AccessoryWidget struct {

	// The type of action.
	//
	// Types that are assignable to Action:
	//
	//	*AccessoryWidget_ButtonList
	Action isAccessoryWidget_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

One or more interactive widgets that appear at the bottom of a message. For details, see Add interactive widgets at the bottom of a message.

func (*AccessoryWidget) Descriptor

func (*AccessoryWidget) Descriptor() ([]byte, []int)

Deprecated: Use AccessoryWidget.ProtoReflect.Descriptor instead.

func (*AccessoryWidget) GetAction

func (m *AccessoryWidget) GetAction() isAccessoryWidget_Action

func (*AccessoryWidget) GetButtonList

func (x *AccessoryWidget) GetButtonList() *v1.ButtonList

func (*AccessoryWidget) ProtoMessage

func (*AccessoryWidget) ProtoMessage()

func (*AccessoryWidget) ProtoReflect

func (x *AccessoryWidget) ProtoReflect() protoreflect.Message

func (*AccessoryWidget) Reset

func (x *AccessoryWidget) Reset()

func (*AccessoryWidget) String

func (x *AccessoryWidget) String() string

AccessoryWidget_ButtonList

type AccessoryWidget_ButtonList struct {
	// A list of buttons.
	ButtonList *v1.ButtonList `protobuf:"bytes,1,opt,name=button_list,json=buttonList,proto3,oneof"`
}

ActionResponse

type ActionResponse struct {

	// Input only. The type of Chat app response.
	Type ActionResponse_ResponseType `protobuf:"varint,1,opt,name=type,proto3,enum=google.chat.v1.ActionResponse_ResponseType" json:"type,omitempty"`
	// Input only. URL for users to authenticate or configure. (Only for
	// `REQUEST_CONFIG` response types.)
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Input only. A response to an interaction event related to a
	// [dialog](https://developers.google.com/workspace/chat/dialogs). Must be
	// accompanied by `ResponseType.Dialog`.
	DialogAction *DialogAction `protobuf:"bytes,3,opt,name=dialog_action,json=dialogAction,proto3" json:"dialog_action,omitempty"`
	// Input only. The response of the updated widget.
	UpdatedWidget *ActionResponse_UpdatedWidget `protobuf:"bytes,4,opt,name=updated_widget,json=updatedWidget,proto3" json:"updated_widget,omitempty"`
	// contains filtered or unexported fields
}

Parameters that a Chat app can use to configure how its response is posted.

func (*ActionResponse) Descriptor

func (*ActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ActionResponse.ProtoReflect.Descriptor instead.

func (*ActionResponse) GetDialogAction

func (x *ActionResponse) GetDialogAction() *DialogAction

func (*ActionResponse) GetType

func (*ActionResponse) GetUpdatedWidget

func (x *ActionResponse) GetUpdatedWidget() *ActionResponse_UpdatedWidget

func (*ActionResponse) GetUrl

func (x *ActionResponse) GetUrl() string

func (*ActionResponse) ProtoMessage

func (*ActionResponse) ProtoMessage()

func (*ActionResponse) ProtoReflect

func (x *ActionResponse) ProtoReflect() protoreflect.Message

func (*ActionResponse) Reset

func (x *ActionResponse) Reset()

func (*ActionResponse) String

func (x *ActionResponse) String() string

ActionResponse_ResponseType

type ActionResponse_ResponseType int32

The type of Chat app response.

ActionResponse_TYPE_UNSPECIFIED, ActionResponse_NEW_MESSAGE, ActionResponse_UPDATE_MESSAGE, ActionResponse_UPDATE_USER_MESSAGE_CARDS, ActionResponse_REQUEST_CONFIG, ActionResponse_DIALOG, ActionResponse_UPDATE_WIDGET

const (
	// Default type that's handled as `NEW_MESSAGE`.
	ActionResponse_TYPE_UNSPECIFIED ActionResponse_ResponseType = 0
	// Post as a new message in the topic.
	ActionResponse_NEW_MESSAGE ActionResponse_ResponseType = 1
	// Update the Chat app's message. This is only permitted on a `CARD_CLICKED`
	// event where the message sender type is `BOT`.
	ActionResponse_UPDATE_MESSAGE ActionResponse_ResponseType = 2
	// Update the cards on a user's message. This is only permitted as a
	// response to a `MESSAGE` event with a matched url, or a `CARD_CLICKED`
	// event where the message sender type is `HUMAN`. Text is ignored.
	ActionResponse_UPDATE_USER_MESSAGE_CARDS ActionResponse_ResponseType = 6
	// Privately ask the user for additional authentication or configuration.
	ActionResponse_REQUEST_CONFIG ActionResponse_ResponseType = 3
	// Presents a
	// [dialog](https://developers.google.com/workspace/chat/dialogs).
	ActionResponse_DIALOG ActionResponse_ResponseType = 4
	// Widget text autocomplete options query.
	ActionResponse_UPDATE_WIDGET ActionResponse_ResponseType = 7
)

func (ActionResponse_ResponseType) Descriptor

func (ActionResponse_ResponseType) Enum

func (ActionResponse_ResponseType) EnumDescriptor

func (ActionResponse_ResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionResponse_ResponseType.Descriptor instead.

func (ActionResponse_ResponseType) Number

func (ActionResponse_ResponseType) String

func (ActionResponse_ResponseType) Type

ActionResponse_SelectionItems

type ActionResponse_SelectionItems struct {

	// An array of the SelectionItem objects.
	Items []*v1.SelectionInput_SelectionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

List of widget autocomplete results.

func (*ActionResponse_SelectionItems) Descriptor

func (*ActionResponse_SelectionItems) Descriptor() ([]byte, []int)

Deprecated: Use ActionResponse_SelectionItems.ProtoReflect.Descriptor instead.

func (*ActionResponse_SelectionItems) GetItems

func (*ActionResponse_SelectionItems) ProtoMessage

func (*ActionResponse_SelectionItems) ProtoMessage()

func (*ActionResponse_SelectionItems) ProtoReflect

func (*ActionResponse_SelectionItems) Reset

func (x *ActionResponse_SelectionItems) Reset()

func (*ActionResponse_SelectionItems) String

ActionResponse_UpdatedWidget

type ActionResponse_UpdatedWidget struct {

	// The widget updated in response to a user action.
	//
	// Types that are assignable to UpdatedWidget:
	//
	//	*ActionResponse_UpdatedWidget_Suggestions
	UpdatedWidget isActionResponse_UpdatedWidget_UpdatedWidget `protobuf_oneof:"updated_widget"`
	// The ID of the updated widget. The ID must match the one for the
	// widget that triggered the update request.
	Widget string `protobuf:"bytes,2,opt,name=widget,proto3" json:"widget,omitempty"`
	// contains filtered or unexported fields
}

For selectionInput widgets, returns autocomplete suggestions for a multiselect menu.

func (*ActionResponse_UpdatedWidget) Descriptor

func (*ActionResponse_UpdatedWidget) Descriptor() ([]byte, []int)

Deprecated: Use ActionResponse_UpdatedWidget.ProtoReflect.Descriptor instead.

func (*ActionResponse_UpdatedWidget) GetSuggestions

func (*ActionResponse_UpdatedWidget) GetUpdatedWidget

func (m *ActionResponse_UpdatedWidget) GetUpdatedWidget() isActionResponse_UpdatedWidget_UpdatedWidget

func (*ActionResponse_UpdatedWidget) GetWidget

func (x *ActionResponse_UpdatedWidget) GetWidget() string

func (*ActionResponse_UpdatedWidget) ProtoMessage

func (*ActionResponse_UpdatedWidget) ProtoMessage()

func (*ActionResponse_UpdatedWidget) ProtoReflect

func (*ActionResponse_UpdatedWidget) Reset

func (x *ActionResponse_UpdatedWidget) Reset()

func (*ActionResponse_UpdatedWidget) String

ActionResponse_UpdatedWidget_Suggestions

type ActionResponse_UpdatedWidget_Suggestions struct {
	// List of widget autocomplete results
	Suggestions *ActionResponse_SelectionItems `protobuf:"bytes,1,opt,name=suggestions,proto3,oneof"`
}

ActionStatus

type ActionStatus struct {

	// The status code.
	StatusCode code.Code `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3,enum=google.rpc.Code" json:"status_code,omitempty"`
	// The message to send users about the status of their request.
	// If unset, a generic message based on the `status_code` is sent.
	UserFacingMessage string `protobuf:"bytes,2,opt,name=user_facing_message,json=userFacingMessage,proto3" json:"user_facing_message,omitempty"`
	// contains filtered or unexported fields
}

Represents the status for a request to either invoke or submit a dialog.

func (*ActionStatus) Descriptor

func (*ActionStatus) Descriptor() ([]byte, []int)

Deprecated: Use ActionStatus.ProtoReflect.Descriptor instead.

func (*ActionStatus) GetStatusCode

func (x *ActionStatus) GetStatusCode() code.Code

func (*ActionStatus) GetUserFacingMessage

func (x *ActionStatus) GetUserFacingMessage() string

func (*ActionStatus) ProtoMessage

func (*ActionStatus) ProtoMessage()

func (*ActionStatus) ProtoReflect

func (x *ActionStatus) ProtoReflect() protoreflect.Message

func (*ActionStatus) Reset

func (x *ActionStatus) Reset()

func (*ActionStatus) String

func (x *ActionStatus) String() string

Annotation

type Annotation struct {

	// The type of this annotation.
	Type AnnotationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.chat.v1.AnnotationType" json:"type,omitempty"`
	// Start index (0-based, inclusive) in the plain-text message body this
	// annotation corresponds to.
	StartIndex *int32 `protobuf:"varint,2,opt,name=start_index,json=startIndex,proto3,oneof" json:"start_index,omitempty"`
	// Length of the substring in the plain-text message body this annotation
	// corresponds to. If not present, indicates a length of 0.
	Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	// Additional metadata about the annotation.
	//
	// Types that are assignable to Metadata:
	//
	//	*Annotation_UserMention
	//	*Annotation_SlashCommand
	//	*Annotation_RichLinkMetadata
	//	*Annotation_CustomEmojiMetadata
	Metadata isAnnotation_Metadata `protobuf_oneof:"metadata"`
	// contains filtered or unexported fields
}

Output only. Annotations can be associated with the plain-text body of the message or with chips that link to Google Workspace resources like Google Docs or Sheets with start_index and length of 0. To add basic formatting to a text message, see Format text messages.

Example plain-text message body:

Hello @FooBot how are you!"

The corresponding annotations metadata:


    "annotations":[{
      "type":"USER_MENTION",
      "startIndex":6,
      "length":7,
      "userMention": {
        "user": {
          "name":"users/{user}",
          "displayName":"FooBot",
          "avatarUrl":"https://goo.gl/aeDtrS",
          "type":"BOT"
        },
        "type":"MENTION"
       }
    }]

func (*Annotation) Descriptor

func (*Annotation) Descriptor() ([]byte, []int)

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetCustomEmojiMetadata

func (x *Annotation) GetCustomEmojiMetadata() *CustomEmojiMetadata

func (*Annotation) GetLength

func (x *Annotation) GetLength() int32

func (*Annotation) GetMetadata

func (m *Annotation) GetMetadata() isAnnotation_Metadata

func (*Annotation) GetRichLinkMetadata

func (x *Annotation) GetRichLinkMetadata() *RichLinkMetadata

func (*Annotation) GetSlashCommand

func (x *Annotation) GetSlashCommand() *SlashCommandMetadata

func (*Annotation) GetStartIndex

func (x *Annotation) GetStartIndex() int32

func (*Annotation) GetType

func (x *Annotation) GetType() AnnotationType

func (*Annotation) GetUserMention

func (x *Annotation) GetUserMention() *UserMentionMetadata

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect

func (x *Annotation) ProtoReflect() protoreflect.Message

func (*Annotation) Reset

func (x *Annotation) Reset()

func (*Annotation) String

func (x *Annotation) String() string

AnnotationType

type AnnotationType