package common.messagepath.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AdaptiveCardAttachment

adaptive_cards.proto:18

AdaptiveCardAttachment defines the mechanism that allows bots to send an adaptive card message defined using Microsoft's Adaptive Cards framework (see http://adaptivecards.io). By using this framework, developers can define a card in JSON composed of images, text, buttons and more using Microsoft's schema. These card definitions can be used across multiple platforms. This attachment should be used by the client to determine how to render an adaptive card message.

Used in: CoreMessage

message AttributionAttachment

core_message_common.proto:22

AttributionAttachment is used to define the entity the content should be attributed to. Attribution information is typically displayed below content messages and represents the source of the content.

Used in: LinkMessageAttachment

message CarouselItem

carousels.proto:27

CarouselItem defines a single piece of content in a carousel.

Used in: CarouselMessageAttachment

message CarouselItemContent

carousels.proto:39

Used in: CarouselItem

message CarouselMessageAttachment

carousels.proto:18

CarouselMessageAttachment defines the properties required to render a carousel message sent by a bot. A carousel message contains multiple pieces of content that can be scrolled through horizontally.

Used in: CoreMessage

message ChatThemeAttachment

chat_theme.proto:15

ChatThemeAttachment defines any updates about chat themes. If this attachment is sent, then the client can assume that the chat theme has changed.

Used in: CoreMessage

message ContentLayoutElement

core_message_common.proto:31

ContentLayoutElement defines which content layout the client should use to render a content message.

Used in: LinkMessageAttachment

enum ContentLayoutElement.ContentLayoutType

core_message_common.proto:33

Used in: ContentLayoutElement

message CoreMessage

core_message.proto:30

---------------------------------------------------------------------------------------------- Base attributes 1-499 ----------------------------------------------------------------------------------------------

message CoreMessageOriginRestriction

core_message_options.proto:19

enum CoreMessageOriginRestriction.Origin

core_message_options.proto:24

Used in: CoreMessageOriginRestriction

message FriendPickerSuggestedReply

keyboards.proto:296

Reply specific for responses created from friend picker suggested responses.

Used in: SuggestedReply

message FriendPickerSuggestedResponse

keyboards.proto:181

Container for a friend picker suggested response All fields optional. Fields that are not given values have defaults defined by the API and/or clients, depending on where these defaults are expected to live. Clients will implement sensible default values, and the Bots API will be able to override them as necessary. See: https://docs.google.com/document/d/1v4JtP1fdah5cvgXW2apScf_bemMkrvh_J370X5jJD48/edit And: https://dev.kik.com/#/docs/messaging#friend-picker-response-object

Used in: SuggestedResponseItem

message Keyboard

keyboards.proto:37

A single keyboard defines how a client should render the input space on their screen.

Used in: KeyboardAttachment, TextWidget

message KeyboardAttachment

keyboards.proto:29

KeyboardAttachment defines the mechanism that allow bots to alter the behavior of keyboards on a user's device. Specifying a Keyboard allows a bot to give the user more information about what kinds of responses they expect from the user at that point in time. Up to 51 of these may be present in a single message to be delivered. The case where this can occur is in the case of a bot responding to a mention in a group containing 50 individuals, and also having a default. If a client receives multiple keyboards in this list. The first one should be taken as the correct one to display. In the future, clients may support multiple keyboards being received. See: https://docs.google.com/document/d/18C33WPHg9v-Yaot1eMeR8bonllo5qbL0oR0pC3ZjDPs/edit And: https://docs.google.com/document/d/11WF4MeW55z1bPkBQwoDlQ1-kT0pQz_or4FWXBZgf2PY/edit And: https://dev.kik.com/#/docs/messaging#keyboards

Used in: CarouselItemContent, CoreMessage

message KeyboardReplyAttachment

keyboards.proto:247

Generic container for any kind of reply that's made using a custom keyboard. Each keyboard should define its own reply message type that is sent in the event of a reply directly from interacting with that keyboard.

Used in: CoreMessage

message LinkMessageAttachment

link_message.proto:13

LinkMessageAttachment defines the information required to render a link message sent by a bot.

Used in: CarouselItemContent

message MentionReplyAttachment

mentions.proto:21

For mention replies (from bots to users), this attachment is used to indicate the user who originally mentioned the bot. See https://github.com/kikinteractive/kik-product/wiki/Bot-Mentions This should only be used the client for internal logic specific to mention-reply messages (e.g. on iPhone 10.9 it is used to determine whether to show the "Reply" button) DO NOT use this attachment to determine visibility rules (use the visibility_rules_attachment for that).

Used in: CoreMessage

message PaymentSuggestedReply

keyboards.proto:291

The reply process of Payments uses a mechanism that exists off the standard message path. This message type is provided for the event that this process is consolidated into the standard message path. Fields may be added in the future, but as of Sept 2016, there is nothing that needs to be specifically forwarded on for payment suggested replies. The presence of this field is not required if replying using a payment suggested response.

Used in: SuggestedReply

(message has no fields)

message PaymentSuggestedResponse

keyboards.proto:123

Container for a payment suggested response. Private, and undocumented suggested response type. Only used internally for demoing purposes (as of Sept 2016). The Bots Platform uses the Stripe API for payment functionality. See: https://github.com/kikinteractive/kik-product/wiki/Payments-API-Docs And: https://stripe.com/docs/api

Used in: SuggestedResponseItem

message PaymentSuggestedResponse.SavedCard

keyboards.proto:153

Container for a saved payment method.

Used in: PaymentSuggestedResponse

message PictureElement

core_message_common.proto:42

PictureElement is used to define a picture sent in a message

Used in: AttributionAttachment, LinkMessageAttachment

message PictureSuggestedReply

keyboards.proto:305

Reply specific for picture suggested responses.

Used in: SuggestedReply

message PictureSuggestedResponse

keyboards.proto:219

Container for a picture suggested response. See: https://docs.google.com/document/d/1dzZHfT99cD0356C7i7VR6WDyTH6DlSF98eu_pgqEHGo/edit

Used in: SuggestedResponseItem

message SuggestedReply

keyboards.proto:255

The entity that is returned to the Bot Platform when a user has selected a response that was provided in a bot-supplied suggested response keyboard.

Used in: KeyboardReplyAttachment

message SuggestedResponseItem

keyboards.proto:80

A suggested response item represents a single item within a possible list of options for a SuggestedResponseKeyboard.

Used in: SuggestedResponseKeyboard

message SuggestedResponseKeyboard

keyboards.proto:68

SuggestedResponseKeyboards allow bots to provide an ordered list of options that a user can select from in order to respond to the conversation. See: https://dev.kik.com/#/docs/messaging#suggested-response-keyboard

Used in: Keyboard

message TextMarkdownAttachment

text_markdown.proto:15

TextMarkdownAttachment defines the mechanism that allows bots to send a text message containing text with markdown. This attachment should be used by the client to render text with markdown.

Used in: CoreMessage

message TextSuggestedReply

keyboards.proto:279

Empty object that exists solely for the purpose of parity with the SuggestedResponseItem definition. Fields may be added in the future, but as of Sept 2016, there is nothing that needs to be specifically forwarded on for text suggested replies. The presence of this field is not required if replying using a text suggested response.

Used in: SuggestedReply

(message has no fields)

message TextSuggestedResponse

keyboards.proto:108

Container for a text message suggested response. See: https://dev.kik.com/#/docs/messaging#text-response-object

Used in: SuggestedResponseItem

message TextWidget

widgets.proto:53

TextWidget allow bots to provide text to be shown at the top of the conversation window.

Used in: Widget

message TransactionDetailsAttachment

feature_payment.proto:13

TransactionDetailsAttachment is meant to be attached to status messages related to feature payments It contains the intended target of the status message

Used in: CoreMessage

enum TransactionDetailsAttachment.Target

feature_payment.proto:16

Used in: TransactionDetailsAttachment

message UriElement

core_message_common.proto:48

UriElement is used to describe a URI sent in a message

Used in: LinkMessageAttachment

enum UriElement.Platform

core_message_common.proto:56

Used in: UriElement

message VisibilityRulesAttachment

visibility_rules.proto:21

'Visibility' relates to: - Where the convo appears (new people/main chat) - How push is sent - What content is blurred - What profile pics are blurred - If bottom bar shows up This attachment represents a minimal set of overrides to the default rules the client applies.

Used in: CoreMessage

enum VisibilityRulesAttachment.Rule

visibility_rules.proto:46

Used in: VisibilityRulesAttachment

message Widget

widgets.proto:37

Used in: WidgetAttachment

message WidgetAttachment

widgets.proto:29

WidgetAttachment defines the mechanism that allow bots to alter the behavior of dynamic content that supplements the chatbot experience. Specifying a Widget allows a bot to give the user additional information that provides more context to a conversation. TextWidget is an example of a widget that stays at the top of the screen, providing persistent information all users in a conversation. Up to 51 of these may be present in a single message to be delivered. The case where this can occur is in the case of a bot responding to a mention in a group containing 50 individuals, and also having a default. If a client receives multiple widgets in this list directed at a single user, the first one should be taken as the one to display. Support for displaying multiple widgets may be added in the future. See: https://docs.google.com/a/kik.com/document/d/1Y2tnA5KfCma0wmGoqnoqFKWTJZa-beU0mvU3v8A3UN0/edit

Used in: CoreMessage