Announcement

Collapse
No announcement yet.

Event Actions

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Event Actions

    DESCRIPTION

    The Telegram Messenger event actions are used to send Telegram Messages. There are several types of messages, whey will be explained here. Reply Markup messages are special kind of messages (as part of the message types described here) that include multiple-choice options and are explained here: https://forums.homeseer.com/forum/hs...1-reply-markup

    PROPERTIES

    Click image for larger version  Name:	eventaction01.png Views:	1 Size:	41.0 KB ID:	1468001

    First, we need to select the message type. Valid message types are Text, Photo, Sticker, Audio, Voice, Video, Video Note, Contact, Venue and Location. Click on the type in the previous sentence to see specific instructions for a message type.

    Click image for larger version  Name:	eventaction02generic.png Views:	1 Size:	34.2 KB ID:	1468002

    All messages start with the same set of properties:
    stefxx

    #2
    TEXT MESSAGE

    Click image for larger version  Name:	eventaction03text.png Views:	0 Size:	8.3 KB ID:	1468004

    A text message is the most simple type of message. You can specify the formatting (Default/plain, Markdown (v2) and HTML). Here is an example of the resulting message:

    Click image for larger version  Name:	eventaction03textresult.png Views:	0 Size:	36.5 KB ID:	1468017
    stefxx

    Comment


      #3
      PHOTO MESSAGE

      Click image for larger version  Name:	eventaction04photo.png Views:	0 Size:	22.2 KB ID:	1468007

      This is an example of a photo message. The message text is optional. Note that the link to the photo can be an URL or local path. Here is an example of the resulting message:

      Click image for larger version  Name:	eventaction04photoresult.png Views:	0 Size:	418.7 KB ID:	1468015
      stefxx

      Comment


        #4
        STICKER MESSAGE

        Click image for larger version  Name:	eventaction05sticker.png Views:	0 Size:	12.7 KB ID:	1468018

        This is an example of a sticker message. The message text is optional. Note that the link to the sticker can be an URL or local path, and should be in the "webp" format. Note that you cannot include a message. Here is an example of the resulting message:

        Click image for larger version  Name:	eventaction05stickerresult.png Views:	0 Size:	281.4 KB ID:	1468013
        stefxx

        Comment


          #5
          AUDIO MESSAGE

          Click image for larger version  Name:	eventaction06audio.png Views:	0 Size:	22.6 KB ID:	1468021

          This is an example of a audio message. The message text is optional. Note that the link to the media file can be an URL or local path. Here is an example of the resulting message:

          Click image for larger version  Name:	eventaction06audioresult.png Views:	0 Size:	23.0 KB ID:	1468022
          stefxx

          Comment


            #6
            VOICE MESSAGE

            Click image for larger version

Name:	eventaction07voice.png
Views:	273
Size:	20.2 KB
ID:	1468025

            This is an example of a voice message. The message text is optional. Note that the link to the media file can be an URL or local path, ogg format advised for best results. Here is an example of the resulting message:

            Click image for larger version

Name:	eventaction07voiceresult.png
Views:	332
Size:	131.4 KB
ID:	1468026
            stefxx

            Comment


              #7
              VIDEO MESSAGE

              Click image for larger version

Name:	eventaction08video.png
Views:	260
Size:	32.4 KB
ID:	1468028

              This is an example of a video message. The message text is optional. Note that the link to the media file can be an URL or local path. Here is an example of the resulting message:

              Click image for larger version

Name:	eventaction08videoresult.png
Views:	310
Size:	263.6 KB
ID:	1468029
              stefxx

              Comment


                #8
                VIDEO NOTE MESSAGE

                Click image for larger version  Name:	eventaction09videonote.png Views:	0 Size:	8.3 KB ID:	1468031

                This is an example of a video note message. Video notes, shown in circles to the user, are usually short (1 minute or less) with the same width and height. You cannot include a message. Note that the link to the media file can only be local path, URLs are NOT supported. Here is an example of the resulting message:

                Click image for larger version  Name:	eventaction09videonoteresult.png Views:	0 Size:	32.3 KB ID:	1468032

                If the format of the file doesn't meet the requirements, it might be send as a regular video message.
                stefxx

                Comment


                  #9
                  CONCACT MESSAGE

                  Click image for larger version

Name:	eventaction10contact.png
Views:	259
Size:	9.4 KB
ID:	1468034

                  This is an example of a contact message. You cannot include a message. All fields support HS4 replacement variables. Here is an example of the resulting message:

                  Click image for larger version

Name:	eventaction10contactresult.png
Views:	355
Size:	10.7 KB
ID:	1468035
                  stefxx

                  Comment


                    #10
                    VENUE MESSAGE

                    Click image for larger version

Name:	eventaction11venue.png
Views:	260
Size:	23.6 KB
ID:	1468037

                    This is an example of a venue message. You cannot include a message. Title and Address are optional. All fields support HS4 replacement variables. Here is an example of the resulting message:

                    Click image for larger version

Name:	eventaction11venueresult.png
Views:	286
Size:	490.7 KB
ID:	1468038
                    stefxx

                    Comment


                      #11
                      LOCATION MESSAGE

                      Click image for larger version

Name:	eventaction12location.png
Views:	262
Size:	7.7 KB
ID:	1468041

                      This is an example of a location message. You cannot include a message. All fields support HS4 replacement variables. Here is an example of the resulting message:

                      Click image for larger version

Name:	eventaction12locationresult.png
Views:	302
Size:	194.0 KB
ID:	1468042
                      stefxx

                      Comment

                      Working...
                      X