Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
skinparam monochrome true
actor user
participant LINEbot as line
participant "Google\nCloud\nFunctions" as GCP
participant "Google APIs" as googleapis
participant "Google\nPhotos APIs" as photo
user -> line: image upload
line -> GCP: webhook
GCP -> line: request image
line -> GCP: response image
GCP -> googleapis: request Access Token
googleapis -> GCP: response Access Token
GCP -> photo: upload image\ncreate media item
photo -> GCP: response
GCP -> line: request reply
line -> user: reply
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.