Compose Microsoft Teams message from configurable tab - microsoft-graph-api

I have created a Microsoft Teams configurable tab with Angular and the Microsoft Teams Javascript library. From this tab I would like to be able to click a button which will "pre-compose" a message in the chat of the channel/chat of where the configurable tab is installed. So when the button is clicked, Teams should navigate to the "Posts" tab of the channel/chat and fill in the text/url/string in the chat and let the user decide to press enter to send it.
I've read the documentation but I cannot conclude that this is possible. I've looked at creating a task module but this only seems to be able to open dialogs to get the user to fill in data and call a service. The bot documentation also seems to mention filling the compose box of the chat but the documentation is not very clear in specifying how the bot should be called from e.g. tabs.

was able to deep link to group chat Tab by setting contextType property. Could you Please try deeplinking to group chat with the below syntax:
https://teams.microsoft.com/l/entity//?context={"chatId": "","contextType":"chat"}

Related

Slack API: Attach File Block in Modal

I am trying to develop a Slack app to open Tickets on a Kanban Board on Notion from Slack directly.
All good, except in the case the user wants to open a ticket with a file attached.
I haven't seen any action available for attaching files to include in my Modal.
Is there any workaround?

Need to open web page within telegram bot chat -- big picture

Building my first telegram bot and it's going to be quite complex.
Part of workflow needs to open a webview within telegram that will require user interaction, return to bot chat altering chat with data received from user.
Reading through the entire api, SO, github, I'm having trouble finding anything about the viewing webpages, much less if we can interact. Before I get deep into this project it would be awesome to have some starting direction.
Can you create web views (like you see for "instant view" articles, google maps, etc), and if so can you get data from user to use back at the chat bot?
Another option is possibly using a "game". In our case, it won't be a conventional game, but maybe we could use the html5 game to render what we need, and interact with the user. I know it can pull scores, names, etc to update message, maybe we could somehow make this work?
I'm currently working through the api. This is one of my first apps, and my first telegram bot. I really appreciate any assistance on how to get started here.
This is in Rails, using https://github.com/telegram-bot-rb/telegram_bot_app as a starter. Mostly needing to know if this concept it possible, but anything more specific would be great, too. Thanks!
You can't create web view with the bot API and you don't need to do that. You can simply link to a web page using simple links or inline buttons and the page will open in Telegram's inline browser (Depending on user's settings).
If you include the user ID in the URL you will know who is using the webpage. e.g example.com?uid=1234
Now that you know who is using the webpage, you can use the ID to send messages or anything else in Telegram chat while user is on the webpage.
At the end you can redirect the user back to your bot URL (telegram.me/botusername).
Update
You can now use Seamless Telegram Login to link to a web page and log in the user. This feature can also be used in groups
Try the new Telegram Web App API
It can open a web page on the bottom sheet, which you can expand almost to the full screen.
You can configure the web app open button by following these steps:
Open BotFather
Type /mybots, select your bot
Click Bot Settings > Menu Button
Set up a menu button that opens a certain URL

Where do I find my youtube v3 data API quota limit?

on this page (https://developers.google.com/youtube/v3/getting-started) google says:
You can find the quota available to your application in the Developers Console.
I went to my Developer Console, and it shows me how many requests I made, but it does not show my exact quota (for my free account). Does anybody know how to access this information? The url for the developer console is https://console.developers.google.com/
Thanks!
Navigate to your Developer Console
Under "APIs & Services" (default page) click on the API you're looking for
Click "Quotas" in the left hand side bar
This will give you a generalized view of your usage over time for that particular API.
Update for July 2020
Check out the IAM Admin/Quotas page for a simplified view of your usage against your total quotas.
You can change your project in the left of the top bar and search per API with the dropdown options on the page.
Clicking any of the listed quotas will show you additional metrics, e.g. a graph of requests over time.
🔰🔰 For server/web-based apps 🔰🔰
The valid steps as of February 21, 2021:
Go to Console: https://console.developers.google.com/ & check if correct project is selected*
Click on the Library option on the left menu
Click on the YouTube Data API 3 option
Click on the Manage button on the Youtube Data API 3 page
Then click on Quotas on the left menu on the Manage page
Lastly, expand the Queries section to see the quota usage.
*Make sure the project/service is selected which is using the YouTube API
go to :
https://console.developers.google.com/apis/dashboard?project=your_app_name
where the your_app_name is your lowcased youtube api application's name.
Click at top left's three lined menu icon.
In to-right slided menu hover/click the IAM&Admin list item and in an another list you will see that 'quota'!

Google Analytics showing message: Bad Event Tracking Code

Google Analytics is showing message "Bad Event Tracking Code" for several my projects. Even for mobile app profile too.
"The message: "The Landing Pages report has a (not set) entry. Verify that tracking code for property (my app name) sends a _trackPageview hit and that it does this before sending any events."
Has somebody got similar issue?
and how to solve this issue because I read about this and can't figure out what is wrong.
I think an issue with you tracking code that have to generate with you google analytics account Here it is step by step description about how to Setting Up Google analytics for Your App
step:1
Go to www.google.com/analytics. The homepage should appear like so:
step:2:
If you do not have a Google account, you will need to create one now by selecting Create an Account on the top-right side of the page.
or sign in in this page.
Once you have logged in, you simply need to click the Access Google Analytics button on the top right.
Step:3
The first screen you see lists all of your accounts.
If you have clients, typically you will have one account set up for each.
If you are new to Google Analytics you will only have the first account you set up.
step:4
Select the Admin view on the top right.
To see the main dashboard area for managing your Accounts, Properties, and Views.
step:5
Select the Property drop-down and click on the Create new property item, like so:
step:6
Google then asks you to submit the details for the app you want to track.
Make sure to choose Mobile app at the top and enter the information as required.
In the Setting up your property section, enter "Cloud App" for the App Name.
step:7
After accepting the terms of service, the website takes you to a page with your tracking ID and the download link for the SDK.
Before you do anything else, write down your app’s Tracking ID, which will be of the form ID UA-XXXXXXXX-Y.
Keep the ID handy, because you will need it soon. For full of description please visit raywenderlich blog
I have received similar errors. However, after testing and checking all the tags, all seem to be in order. I read on PBS that these are false positive alerts, where the errors in fact in correct.
http://spiblog.pbs.org/2014/08/the-art-of-analytics-google-analytics.html

starting a text chat with google hangouts with a url like in skype

I want to create a button or link in my web application for starting a chat to a contact.
I know the contact's google addresses, and I want to include in a web page, a list of the possible destinations (like a contact list) which the user can click and automatically start a chat window to this user (assuming the user has the hangouts plugin installed and logged-in).
With skype, I can include something like call someuser1. How do I do the same thing with Hangouts?
Google has something called the Hangout Button which you can embed into your website. More information on how to embed it can be found at: https://developers.google.com/+/hangouts/button

Resources