GithubHelp home page GithubHelp logo

ziprawan / gas-tg-file-id Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 20 KB

Google Apps Script Library to decode and encode telegram file id

License: GNU General Public License v3.0

JavaScript 100.00%

gas-tg-file-id's Introduction

GAS-tg-file-id

Google Apps Script Library to decode and encode telegram file id

Getting Started

To use this library, look up with this ID: AKfycbwbR28s_mbU0cTvnQMvhWAV8fRHs-B_4FYu6CP3aowxITnMByeL9-nmVfQkpFb0eNO9FQ

Available functions:

  • decode(file_id)

Parameters:

file_id (String):

file_id to decode

Returns:

Object:

Decoded file_id

Example result:

{
  file_type: "VIDEO",
  dc_id: 1,
  has_web_location: false,
  has_file_reference: true
}

Rest API

Powered by Google Apps Script

URL: https://script.google.com/macros/s/AKfycbwbR28s_mbU0cTvnQMvhWAV8fRHs-B_4FYu6CP3aowxITnMByeL9-nmVfQkpFb0eNO9FQ/exec

Supported method: GET, POST

Parameters: file_id

Contribution

If you found any bugs, report it to me

Or you can make PR to this repo :)

I'm appreciated your contribution!

gas-tg-file-id's People

Contributors

ziprawan avatar

Watchers

 avatar

Forkers

masbagusstwn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.