Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / BotInfoResponse

Type Alias: BotInfoResponse ​

BotInfoResponse = object

Defined in: lib/messaging-api/model/botInfoResponse.ts:16

See ​

https://developers.line.biz/en/reference/messaging-api/#get-bot-info

Properties ​

basicId ​

basicId: string

Defined in: lib/messaging-api/model/botInfoResponse.ts:24

Bot's basic ID


chatMode ​

chatMode: ChatModeEnum

Defined in: lib/messaging-api/model/botInfoResponse.ts:40

Chat settings set in the LINE Official Account Manager. One of: chat: Chat is set to "On". bot: Chat is set to "Off".


displayName ​

displayName: string

Defined in: lib/messaging-api/model/botInfoResponse.ts:32

Bot's display name


markAsReadMode ​

markAsReadMode: MarkAsReadModeEnum

Defined in: lib/messaging-api/model/botInfoResponse.ts:44

Automatic read setting for messages. If the chat is set to "Off", auto is returned. If the chat is set to "On", manual is returned. auto: Auto read setting is enabled. manual: Auto read setting is disabled.


pictureUrl? ​

optional pictureUrl?: string

Defined in: lib/messaging-api/model/botInfoResponse.ts:36

Profile image URL. https image URL. Not included in the response if the bot doesn't have a profile image.


premiumId? ​

optional premiumId?: string

Defined in: lib/messaging-api/model/botInfoResponse.ts:28

Bot's premium ID. Not included in the response if the premium ID isn't set.


userId ​

userId: string

Defined in: lib/messaging-api/model/botInfoResponse.ts:20

Bot's user ID